public class JaasAuthenticator
extends com.sun.net.httpserver.BasicAuthenticator
| Constructor and Description |
|---|
JaasAuthenticator(String pRealm) |
| Modifier and Type | Method and Description |
|---|---|
com.sun.net.httpserver.Authenticator.Result |
authenticate(com.sun.net.httpserver.HttpExchange pHttpExchange) |
boolean |
checkCredentials(String pUser,
String pPassword) |
protected LoginContext |
createLoginContext(String realm,
CallbackHandler handler) |
public JaasAuthenticator(String pRealm)
public com.sun.net.httpserver.Authenticator.Result authenticate(com.sun.net.httpserver.HttpExchange pHttpExchange)
authenticate in class com.sun.net.httpserver.BasicAuthenticatorpublic boolean checkCredentials(String pUser, String pPassword)
checkCredentials in class com.sun.net.httpserver.BasicAuthenticatorprotected LoginContext createLoginContext(String realm, CallbackHandler handler) throws LoginException
LoginExceptionCopyright © 2022. All rights reserved.