Class CallerPrincipalCallback
- java.lang.Object
-
- jakarta.security.auth.message.callback.CallerPrincipalCallback
-
- All Implemented Interfaces:
javax.security.auth.callback.Callback
public class CallerPrincipalCallback extends java.lang.Object implements javax.security.auth.callback.Callback
Callback that enables an authentication module to inform the runtime of the call principal or name of the caller principal.
-
-
Constructor Summary
Constructors Constructor Description CallerPrincipalCallback(javax.security.auth.Subject subject, java.lang.String name)
CallerPrincipalCallback(javax.security.auth.Subject subject, java.security.Principal principal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
java.security.Principal
getPrincipal()
javax.security.auth.Subject
getSubject()
-