Class PeerPrincipalCallback
- java.lang.Object
-
- org.wildfly.security.auth.callback.PeerPrincipalCallback
-
- All Implemented Interfaces:
Serializable
,Callback
,ExtendedCallback
public final class PeerPrincipalCallback extends Object implements ExtendedCallback, Serializable
An optional callback to inform the callback handler of the peer's principal identity.- Author:
- David M. Lloyd
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PeerPrincipalCallback(Principal principal)
Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Principal
getPrincipal()
Get the peer principal.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.wildfly.security.auth.callback.ExtendedCallback
isOptional, needsInformation
-
-