Class Authenticator.Success
java.lang.Object
com.sun.net.httpserver.Authenticator.Result
com.sun.net.httpserver.Authenticator.Success
- Enclosing class:
- Authenticator
Indicates an authentication has succeeded and the
authenticated user principal can be acquired by calling
getPrincipal().- Since:
- 1.6
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns the authenticated userPrincipal.
- 
Constructor Details- 
SuccessCreates aSuccessinstance with givenPrincipal.- Parameters:
- p- the authenticated user you wish to set as- Principal
 
 
- 
- 
Method Details- 
getPrincipalReturns the authenticated userPrincipal.- Returns:
- the Principalinstance associated with the authenticated user
 
 
-