|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.spardat.xma.session.XMASession
A XMASession is an execution context for Components.
| Constructor Summary | |
XMASession()
Constructor. |
|
| Method Summary | |
boolean |
checkPermission(java.lang.String operation)
Checks if the logged in user is allowed to perform the given operation. |
abstract byte[] |
getApplicationVersion()
Application Hash-Code built from application descriptors. |
int |
getApplicationVersionShort()
Returns a 32-bit hash of the application version. |
abstract XMAContext |
getContext()
Returns the execution context of this session. |
abstract PluginManager |
getPluginManager()
Returns the PluginManager that must be used to retrieve client side plugin implementations. |
abstract javax.security.auth.Subject |
getSubject()
Returns the subject as supplied by the JAAS conforming login module. |
abstract boolean |
isAtServer()
Returns true if this session is in the server JVM. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XMASession()
| Method Detail |
public abstract XMAContext getContext()
public abstract javax.security.auth.Subject getSubject()
public abstract PluginManager getPluginManager()
public boolean checkPermission(java.lang.String operation)
at/spardat/xma/security/Authorisation.properties
which must be in the classpath. The special property <default>
is used for the application permission.at/spardat/xma/security/Authorisation.properties
which must be in the classpath, too.
operation - the operation to check
public abstract byte[] getApplicationVersion()
public int getApplicationVersionShort()
public abstract boolean isAtServer()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||