public class SecurityManager.SsoSecurityManager
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private CentralLogger |
LOG
Logger.
|
| Constructor and Description |
|---|
SsoSecurityManager() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
assignContext(java.lang.Object sessionId,
java.lang.String fwdUser)
Creates a security context for the FWD account and assigns it to the current Thread.
|
private AuthData |
authenticateClientWorkerSso(NetSocket socket,
java.lang.String clientUuid,
java.lang.String fwdUser)
Executes the client-side part of the SSO authentication type
SecurityConstants.AUTH_REQ_SSO
and returns the AuthData. |
private java.lang.Object |
authenticateLocalSso(NetSocket socket,
SecurityCache sc)
Executes the server-side part of the SSO authentication type
SecurityConstants.AUTH_REQ_SSO
and returns the newly created security context for the authenticated FWD user. |
SsoAuthenticator |
getSsoAuthenticator()
Get the SSO authentication provider
|
boolean |
isSsoEnabled()
Returns a flag indicating if SSO authenticator is provided.
|
private final CentralLogger LOG
public boolean isSsoEnabled()
public SsoAuthenticator getSsoAuthenticator()
public java.lang.Object assignContext(java.lang.Object sessionId,
java.lang.String fwdUser)
throws RestrictedUseException
sessionId - The socket used as session id.fwdUser - The FWD account.RestrictedUseException - If the check for allowed caller fails.private AuthData authenticateClientWorkerSso(NetSocket socket, java.lang.String clientUuid, java.lang.String fwdUser)
SecurityConstants.AUTH_REQ_SSO
and returns the AuthData.socket - The socket for the connection with the server.clientUuid - The client uuid.fwdUser - The fwd username.private java.lang.Object authenticateLocalSso(NetSocket socket, SecurityCache sc)
SecurityConstants.AUTH_REQ_SSO
and returns the newly created security context for the authenticated FWD user.socket - The socket for the connection with the client.sc - The security cache.