Esri Geoportal Server
1.0

com.esri.gpt.framework.security.identity.open
Class OpenProvider

java.lang.Object
  extended by com.esri.gpt.framework.security.identity.open.OpenProvider

public class OpenProvider
extends Object

Property information associated with an Openid or oAuth provider.


Constructor Summary
OpenProvider()
          Default constructor
 
Method Summary
 String getAuthenticationUrl()
          Gets the authentication URL.
 String getConsumerKey()
          Gets the consumer key (oAuth).
 String getConsumerSecret()
          Gets the consumer secret (oAuth).
 String getIconUrl()
          Gets the icon URL.
 String getName()
          Gets the provider name.
 String getResourceKey()
          Gets the UI property bundle resource key.
 void processConfgurationNode(OpenProviders providers, Node node)
          Processes an open provider configuration node.
 void setAuthenticationUrl(String authenticationUrl)
          Sets the authentication URL.
 void setConsumerKey(String consumerKey)
          Sets the consumer key (oAuth).
 void setConsumerSecret(String consumerSecret)
          Sets the consumer secret (oAuth).
 void setIconUrl(String iconUrl)
          Sets the icon URL.
 void setName(String name)
          Sets the provider name.
 void setResourceKey(String resourceKey)
          Sets the UI property bundle resource key.
 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

OpenProvider

public OpenProvider()
Default constructor

Method Detail

getAuthenticationUrl

public String getAuthenticationUrl()
Gets the authentication URL.

Returns:
the authentication URL

setAuthenticationUrl

public void setAuthenticationUrl(String authenticationUrl)
Sets the authentication URL.

Parameters:
authenticationUrl - the authentication URL

getConsumerKey

public String getConsumerKey()
Gets the consumer key (oAuth).

Returns:
the consumer key

setConsumerKey

public void setConsumerKey(String consumerKey)
Sets the consumer key (oAuth).

Parameters:
consumerKey - the name

getConsumerSecret

public String getConsumerSecret()
Gets the consumer secret (oAuth).

Returns:
the consumer secret

setConsumerSecret

public void setConsumerSecret(String consumerSecret)
Sets the consumer secret (oAuth).

Parameters:
consumerSecret - the secret

getIconUrl

public String getIconUrl()
Gets the icon URL.

Returns:
the icon URL

setIconUrl

public void setIconUrl(String iconUrl)
Sets the icon URL.

Parameters:
iconUrl - the icon URL

getName

public String getName()
Gets the provider name.

Returns:
the name

setName

public void setName(String name)
Sets the provider name.

Parameters:
name - the name

getResourceKey

public String getResourceKey()
Gets the UI property bundle resource key.

Returns:
the resource key

setResourceKey

public void setResourceKey(String resourceKey)
Sets the UI property bundle resource key.

Parameters:
resourceKey - the resource key

processConfgurationNode

public void processConfgurationNode(OpenProviders providers,
                                    Node node)
                             throws Exception
Processes an open provider configuration node.

Parameters:
providers - the container
node - the openProvider configuration node
Throws:
Exception - if an exception occurs

toString

public String toString()
Returns the string representation of the object.

Overrides:
toString in class Object
Returns:
the string

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.