|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.am.eb.web.eaidemo.EAIDemoServerConfig
public class EAIDemoServerConfig
Class representing EAI servlet configuration parameters. The parameters are
stored as servlet context parameters and can be changed by editing the
web.xml
file for this application.
Field Summary | |
---|---|
static short |
DEMO_TYPE_PAC
Indicates the advanced demo, returning only PAC headers and requiring configuration through PdJrteCfg and SvrSslCfg. |
static short |
DEMO_TYPE_USER_ID
Indicates the simple demo, returning only User ID headers. |
Method Summary | |
---|---|
java.util.Properties |
getConfig()
Returns the properties object representing the config file. |
java.lang.String |
getDefaultAuthLevelValue()
Returns the value corresponding to the eai-auth-level header. |
java.lang.String |
getDefaultRedirectURL()
Returns the value of the URL to which WebSEAL should redirect users upon successful authentication. |
java.lang.String |
getDefaultUser()
The TAM user that all EAI demo logins map to. |
java.lang.String |
getEAIAuthLevelHeader()
Returns the name of the header that should be used to indicate authentication level. |
java.lang.String |
getEAIPACHeader()
Returns the name of the header that should be used to indicate the user PAC. |
java.lang.String |
getEAIPACSvcHeader()
Returns the name of the header that should be used to indicate the PAC service control header. |
java.lang.String |
getEAIRedirURLHeader()
Returns the name of the header that should be used to indicate the URL to which WebSEAL will redirect users upon successful authentication. |
java.lang.String |
getEAIUserIDHeader()
Returns the name of the header that should be used to indicate the user ID for WebSEAL to use when constructing a credential for the user. |
java.lang.String |
getEAIxattrsHeader()
Returns the name of the header that should be used to indicate EAI extended attributes. |
static EAIDemoServerConfig |
getInstance(javax.servlet.ServletContext ctx)
Singleton pattern to return the common configuration object. |
java.net.URL |
getPDPermPropertiesURL()
Returns the URL of the PDJRTE configuration file. |
void |
setDefaultAuthLevelValue(java.lang.String value)
Returns the value corresponding to the eai-auth-level header. |
void |
setDefaultRedirectURL(java.lang.String value)
Returns the value of the URL to which WebSEAL should redirect users upon successful authentication. |
void |
setDefaultUser(java.lang.String value)
The TAM user that all EAI demo logins map to. |
void |
setEAIAuthLevelHeader(java.lang.String value)
Returns the name of the header that should be used to indicate authentication level. |
void |
setEAIPACHeader(java.lang.String value)
Returns the name of the header that should be used to indicate the user PAC. |
void |
setEAIPACSvcHeader(java.lang.String value)
Returns the name of the header that should be used to indicate the PAC service control header. |
void |
setEAIRedirURLHeader(java.lang.String value)
Returns the name of the header that should be used to indicate the URL to which WebSEAL will redirect users upon successful authentication. |
void |
setEAIUserIDHeader(java.lang.String value)
Returns the name of the header that should be used to indicate the user ID for WebSEAL to use when constructing a credential for the user. |
void |
setEAIxattrsHeader(java.lang.String value)
Returns the name of the header that should be used to indicate EAI extended attributes. |
void |
setPDPermPropertiesURL(java.lang.String value)
Returns the URL of the PDJRTE configuration file. |
void |
storeConfig()
Saves the config file to disk. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final short DEMO_TYPE_USER_ID
public static final short DEMO_TYPE_PAC
Method Detail |
---|
public static EAIDemoServerConfig getInstance(javax.servlet.ServletContext ctx) throws javax.servlet.ServletException
ctx
- the ServletContext for this application.
javax.servlet.ServletException
- if there's a problem with the config.public java.util.Properties getConfig()
public void setDefaultAuthLevelValue(java.lang.String value)
value
- the default auth level if the user doesn't supply one.public java.lang.String getDefaultAuthLevelValue()
public void setDefaultRedirectURL(java.lang.String value)
value
- the default redirect url to set.public java.lang.String getDefaultRedirectURL()
public void setDefaultUser(java.lang.String value)
value
- the username that will be used for credential generation.public java.lang.String getDefaultUser()
public void setEAIAuthLevelHeader(java.lang.String value)
value
- the name of the auth level header.public java.lang.String getEAIAuthLevelHeader()
public void setEAIPACHeader(java.lang.String value)
value
- the name of the PAC header.public java.lang.String getEAIPACHeader()
public void setEAIPACSvcHeader(java.lang.String value)
value
- the name of the PAC service control header.public java.lang.String getEAIPACSvcHeader()
public void setEAIRedirURLHeader(java.lang.String value)
value
- the name of the redirection url header.public java.lang.String getEAIRedirURLHeader()
public void setEAIUserIDHeader(java.lang.String value)
value
- the name of the user id header.public java.lang.String getEAIUserIDHeader()
public void setEAIxattrsHeader(java.lang.String value)
value
- the name of the extended attributes header.public java.lang.String getEAIxattrsHeader()
public void setPDPermPropertiesURL(java.lang.String value)
value
- the url to the PDJRTE configuration file.public java.net.URL getPDPermPropertiesURL() throws java.net.MalformedURLException
java.net.MalformedURLException
- If the configuration file contains an
incorrectly formatted URL.public void storeConfig()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |