Class PeerPrincipalCallback
java.lang.Object
org.wildfly.security.auth.callback.PeerPrincipalCallback
- All Implemented Interfaces:
Serializable,Callback,ExtendedCallback
An optional callback to inform the callback handler of the peer's principal identity.
- Author:
- David M. Lloyd
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.security.auth.callback.ExtendedCallback
isOptional, needsInformation
-
Constructor Details
-
PeerPrincipalCallback
Construct a new instance.- Parameters:
principal- the peer principal
-
-
Method Details
-
getPrincipal
Get the peer principal.- Returns:
- the peer principal
-