|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.gpt.framework.security.identity.SingleSignOnMechanism
public class SingleSignOnMechanism
Provides support for a single sign on process.
There are 2 patterns for specifying the credential location:
"userPrincipal" is the typical case and indicates that the credential can be found within HttpServletRequest.getUserPrincipal().getName()
header.variable indicates that the credential can be found within
the HTTP header.
Example: credentialLocation="header.html-wg-useruid" indicates that the
credential can be found within an HTTP header variable named
"html-wg-useruid" (ie. HttpServletRequest.getHeader("html-wg-useruid"))
Constructor Summary | |
---|---|
SingleSignOnMechanism()
Default constructor. |
Method Summary | |
---|---|
String |
determineUsername(HttpServletRequest request)
Determines the user name associated with a single sign-on request. |
boolean |
getActive()
Gets the flag indication whether or not single sign-on is active. |
String |
getAnonymousValue()
Gets the credential value that indicates an anonymous user. |
String |
getCredentialLocation()
Gets the location of the credential. |
void |
setActive(boolean active)
Sets the flag indication whether or not single sign-on is active. |
void |
setAnonymousValue(String value)
Sets the credential value that indicates an anonymous user. |
void |
setCredentialLocation(String location)
Sets the location of the credential. |
String |
toString()
Returns the string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SingleSignOnMechanism()
Method Detail |
---|
public boolean getActive()
public void setActive(boolean active)
active
- true if single sign-on is active.public String getAnonymousValue()
public void setAnonymousValue(String value)
value
- the credential value indicating an anonymous userpublic String getCredentialLocation()
public void setCredentialLocation(String location)
location
- the credential locationpublic String determineUsername(HttpServletRequest request)
public String toString()
toString
in class Object
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |