|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectat.spardat.xma.plugins.dummy.DummyAuthorisation
Dummy implementation of an authorisation plugin. This implementation allows everything to every authenticated user. All numerical values are zero. This plugin can be used on client and server side.
| Constructor Summary | |
DummyAuthorisation()
|
|
| Method Summary | |
double |
getDoubleValue(javax.security.auth.Subject subject,
java.lang.String function)
Return the numeric value associated with the given user and the given function. e.g. a money limit. |
long |
getLongValue(javax.security.auth.Subject subject,
java.lang.String function)
Return the numeric value associated with the given user and the given function. e.g. a money limit. |
boolean |
isAuthorized(javax.security.auth.Subject subject,
java.lang.String function)
Check if the given user is alowed to perform the given function. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DummyAuthorisation()
| Method Detail |
public boolean isAuthorized(javax.security.auth.Subject subject,
java.lang.String function)
isAuthorized in interface at.spardat.xma.security.Authorisationsubject - the subject as returned by the DummyLoginModulefunction - a String identifying the desired operation
DummyLoginModule
public long getLongValue(javax.security.auth.Subject subject,
java.lang.String function)
subject - the subject as returned by the DummyLoginModulefunction - a String identifying the desired operation
public double getDoubleValue(javax.security.auth.Subject subject,
java.lang.String function)
subject - the subject as returned by the DummyLoginModulefunction - a String identifying the desired operation
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||