|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.sdisuite.IntegrationContext
public abstract class IntegrationContext
Provides an integration context for sde.suite components.
Constructor Summary | |
---|---|
IntegrationContext()
Default constructor |
Method Summary | |
---|---|
abstract IntegrationResponse |
checkUrl(String url,
User user,
String username,
String password,
String licenseReturnUrl)
Authorizes access to a URL. |
abstract void |
ensureToken(User user)
Ensure that the active user has a valid SAML token. |
abstract String |
getBase64EncodedToken(User user)
Base64 encodes the SAML token associated with the active user. |
StringAttributeMap |
getConfig()
Gets the configuration parameters. |
String |
getLicenseId(String licenseReference)
Gets the license id associated with a license reference. |
abstract String |
getUsernameFromSAMLToken(String samlToken)
Gets the username encoded within a SAML token. |
abstract void |
initializeUser(User user)
Provides an opportunity to initialize additional user properties. |
void |
setConfig(StringAttributeMap config)
Sets the configuration parameters. |
abstract void |
shutdown()
Executed on web-app shutdown. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IntegrationContext()
Method Detail |
---|
public StringAttributeMap getConfig()
public void setConfig(StringAttributeMap config)
config
- the configuration parameterspublic abstract IntegrationResponse checkUrl(String url, User user, String username, String password, String licenseReturnUrl) throws NotAuthorizedException, Exception
url
- the URLuser
- the active userusername
- the usernamepassword
- the passwordlicenseReturnUrl
- the return URL (called following license negotiation)
NotAuthorizedException
- if authorization for the supplied URL was denied
Exception
- if a processing exception occurspublic abstract void ensureToken(User user) throws Exception
user
- the active user
Exception
- if an exception occurspublic abstract String getBase64EncodedToken(User user) throws Exception
user
- the active user
Exception
- if an exception occurspublic String getLicenseId(String licenseReference) throws Exception
licenseReference
- the license reference
Exception
- if an exception occurspublic abstract String getUsernameFromSAMLToken(String samlToken) throws Exception
samlToken
- the SAML token
Exception
- if an exception occurspublic abstract void initializeUser(User user) throws Exception
user
- the active user
Exception
- if an exception occurspublic abstract void shutdown() throws Exception
Exception
- if an exception occurs
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |