Package gda.jython
Interface IAuthorisationHolder
- All Known Implementing Classes:
JythonServerFacade,MockJythonServerFacade
public interface IAuthorisationHolder
Interface used by some classes to get authorisation
Provided to ensure loose coupling between callers and command runner implementation
-
Method Summary
Modifier and TypeMethodDescriptionintReturns the current authorisation level (this value could be dynamic if a baton is in use)int
-
Method Details
-
getAuthorisationLevel
int getAuthorisationLevel()Returns the current authorisation level (this value could be dynamic if a baton is in use)- Returns:
- the authorisationLevel at this moment in time
-
getAuthorisationLevelAtRegistration
int getAuthorisationLevelAtRegistration()- Returns:
- the authorisation level ignoring any current baton status
-