Package org.eclipse.jetty.security.jaspi
Class SimpleAuthConfig
- java.lang.Object
-
- org.eclipse.jetty.security.jaspi.SimpleAuthConfig
-
- All Implemented Interfaces:
javax.security.auth.message.config.AuthConfig
,javax.security.auth.message.config.ServerAuthConfig
public class SimpleAuthConfig extends java.lang.Object implements javax.security.auth.message.config.ServerAuthConfig
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
HTTP_SERVLET
-
Constructor Summary
Constructors Constructor Description SimpleAuthConfig(java.lang.String appContext, javax.security.auth.message.config.ServerAuthContext serverAuthContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAppContext()
javax.security.auth.message.config.ServerAuthContext
getAuthContext(java.lang.String authContextID, javax.security.auth.Subject serviceSubject, java.util.Map properties)
java.lang.String
getAuthContextID(javax.security.auth.message.MessageInfo messageInfo)
java.lang.String
getMessageLayer()
boolean
isProtected()
void
refresh()
-
-
-
Field Detail
-
HTTP_SERVLET
public static final java.lang.String HTTP_SERVLET
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAuthContext
public javax.security.auth.message.config.ServerAuthContext getAuthContext(java.lang.String authContextID, javax.security.auth.Subject serviceSubject, java.util.Map properties) throws javax.security.auth.message.AuthException
- Specified by:
getAuthContext
in interfacejavax.security.auth.message.config.ServerAuthConfig
- Throws:
javax.security.auth.message.AuthException
-
getAppContext
public java.lang.String getAppContext()
- Specified by:
getAppContext
in interfacejavax.security.auth.message.config.AuthConfig
-
getAuthContextID
public java.lang.String getAuthContextID(javax.security.auth.message.MessageInfo messageInfo) throws java.lang.IllegalArgumentException
- Specified by:
getAuthContextID
in interfacejavax.security.auth.message.config.AuthConfig
- Throws:
java.lang.IllegalArgumentException
-
getMessageLayer
public java.lang.String getMessageLayer()
- Specified by:
getMessageLayer
in interfacejavax.security.auth.message.config.AuthConfig
-
isProtected
public boolean isProtected()
- Specified by:
isProtected
in interfacejavax.security.auth.message.config.AuthConfig
-
refresh
public void refresh()
- Specified by:
refresh
in interfacejavax.security.auth.message.config.AuthConfig
-
-