public class JaspiAuthenticatorFactory extends DefaultAuthenticatorFactory
Constructor and Description |
---|
JaspiAuthenticatorFactory() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
findServerName(Server server)
Find a servername.
|
protected java.lang.String |
findServerName(Server server,
javax.security.auth.Subject subject)
Deprecated.
|
protected javax.security.auth.Subject |
findServiceSubject(Server server)
Find a service Subject.
|
Authenticator |
getAuthenticator(Server server,
javax.servlet.ServletContext context,
Authenticator.AuthConfiguration configuration,
IdentityService identityService,
LoginService loginService) |
java.lang.String |
getServerName() |
javax.security.auth.Subject |
getServiceSubject() |
void |
setServerName(java.lang.String serverName) |
void |
setServiceSubject(javax.security.auth.Subject serviceSubject) |
getLoginService, setLoginService
public javax.security.auth.Subject getServiceSubject()
public void setServiceSubject(javax.security.auth.Subject serviceSubject)
serviceSubject
- the serviceSubject to setpublic java.lang.String getServerName()
public void setServerName(java.lang.String serverName)
serverName
- the serverName to setpublic Authenticator getAuthenticator(Server server, javax.servlet.ServletContext context, Authenticator.AuthConfiguration configuration, IdentityService identityService, LoginService loginService)
getAuthenticator
in interface Authenticator.Factory
getAuthenticator
in class DefaultAuthenticatorFactory
protected javax.security.auth.Subject findServiceSubject(Server server)
setServiceSubject(Subject)
has not been used to
set a subject, then the ContainerLifeCycle.getBeans(Class)
method is
used to look for a Subject.server
- the server to pull the Subject fromprotected java.lang.String findServerName(Server server)
setServerName(String)
has not been called, then
use the name of the a principal in the service subject.
If not found, return "server".server
- the server to find the name of@Deprecated protected java.lang.String findServerName(Server server, javax.security.auth.Subject subject)
setServerName(String)
has not been called, then
use the name of the a principal in the service subject.
If not found, return "server".server
- the server to usesubject
- not usedCopyright © 1995–2023 Webtide. All rights reserved.