|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.esri.aims.mtier.auth.Authenticate
Restricts access to services so that only users with proper credentials can access them. This process is called Authentication. On initialization, this object reads the Authenticate.properties file. If the authenticate property is set to true, all requests have to be associated with a username & password. The username & password will be validated with the ACL which can be file based or JDBC based.
Constructor Summary | |
Authenticate()
Constructs an instance of this object. |
Method Summary | |
boolean |
Authenticate(String user,
String password,
String service,
String xml)
Authenticates the service against the given username and password. |
String |
getRoles()
Returns the roles |
boolean |
isAuthenticateAble()
Determines if authentication is set. |
String |
outFilter(String xml,
String service)
Filters the response based on ACL attributes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Authenticate()
Method Detail |
public boolean Authenticate(String user, String password, String service, String xml)
user
- the usernamepassword
- the passwordservice
- the requested service namexml
- the ArcXML requestpublic String outFilter(String xml, String service)
service
- the requested service namexml
- the ArcXML responsepublic boolean isAuthenticateAble()
This method reads the Authenticate.properties file, and determines if the property authenticate is true or false .
public String getRoles()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |