Esri Geoportal Server
1.2.9

com.esri.gpt.agp.client
Class AgpTokenCriteria

java.lang.Object
  extended by com.esri.gpt.agp.client.AgpTokenCriteria

public class AgpTokenCriteria
extends Object

The criteria for a security token request.


Constructor Summary
AgpTokenCriteria()
          Default constructor.
 
Method Summary
 void appendURLParameters(StringBuilder parameters)
          Appends parameters to a URL request buffer.
 AgpCredentials getCredentials()
          Gets the credentials.
 int getExpriation()
          Gets the token expiration time in minutes.
 String getReferer()
          Gets the referer.
 void setCredentials(AgpCredentials credentials)
          Sets the credentials.
 void setExpriation(int expriation)
          Sets the token expiration time in minutes.
 void setReferer(String referer)
          Sets the referer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgpTokenCriteria

public AgpTokenCriteria()
Default constructor.

Method Detail

getCredentials

public AgpCredentials getCredentials()
Gets the credentials.

Returns:
the credentials

setCredentials

public void setCredentials(AgpCredentials credentials)
Sets the credentials.

Parameters:
credentials - the credentials

getExpriation

public int getExpriation()
Gets the token expiration time in minutes.
The default is 60 minutes.

Returns:
the token expiration time

setExpriation

public void setExpriation(int expriation)
Sets the token expiration time in minutes.
The default is 60 minutes.

Parameters:
expriation - the token expiration time

getReferer

public String getReferer()
Gets the referer.

Returns:
the referer

setReferer

public void setReferer(String referer)
Sets the referer.

Parameters:
referer - the referer

appendURLParameters

public void appendURLParameters(StringBuilder parameters)
Appends parameters to a URL request buffer.

Parameters:
parameters - the URL request buffer

Esri Geoportal Server
1.2.9

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