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().- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionReturns the authenticated userPrincipal. 
- 
Constructor Details
- 
Success
Creates aSuccessinstance with givenPrincipal.- Parameters:
 p- the authenticated user you wish to set asPrincipal
 
 - 
 - 
Method Details
- 
getPrincipal
Returns the authenticated userPrincipal.- Returns:
 - the 
Principalinstance associated with the authenticated user 
 
 -