Uses of Class
ome.system.Principal

Packages that use Principal
ome.api Contains the central verbs of the Omero System. 
ome.logic The central repository of implementations which will be accessible through this server. 
ome.security JBoss and OMERO security handling This includes classes that provide security for the execution and usage of the OMERO server on a JBoss platform. 
ome.security.basic Basic OMERO security contextual classes Basic classes that provide security context objects necessary to secure the implementation of the OMERO server on a JBoss platform. 
ome.security.sharing   
ome.services.blitz.fire   
ome.services.blitz.impl   
ome.services.blitz.redirect   
ome.services.fulltext All necessary classes for background indexing of metadata and attached binary files. 
ome.services.licenses Contains an add-on service and interceptor for license administration. 
ome.services.roi   
ome.services.scripts   
ome.services.sessions   
ome.services.throttling   
ome.services.util Helper classes to support OMERO service beans Instead of abstract classes, IOC methods and dependency injection is used to provide service interception for the Service (binary) bean classes. 
ome.system Provides the necessary container structure for the entire Omero system. 
omero.grid   
omero.util   
 

Uses of Principal in ome.api
 

Methods in ome.api with parameters of type Principal
 ome.model.meta.Session ISession.createSession(Principal principal, String credentials)
          Creates a new session and returns it to the user.
 ome.model.meta.Session ISession.createSessionWithTimeout(Principal principal, long timeToLiveMilliseconds)
          Allows an admin to create a Session for the give Principal
 ome.model.meta.Session ISession.createSessionWithTimeouts(Principal principal, long timeToLiveMilliseconds, long timeToIdleMilliseconds)
          Allows an admin to create a Session for the give Principal
 

Uses of Principal in ome.logic
 

Methods in ome.logic that return Principal
protected  Principal HardWiredInterceptor.getPrincipal(MethodInvocation mi)
           
 

Methods in ome.logic with parameters of type Principal
static void HardWiredInterceptor.initializeUserAttributes(MethodInvocation mi, ServiceFactory sf, Principal pr, boolean hasPassword)
          Adds the given environment context objects to the ReflectiveMethodInvocation.getUserAttributes() Map for lookup in subclasses
 

Uses of Principal in ome.security
 

Methods in ome.security with parameters of type Principal
 void MethodSecurity.checkMethod(Object obj, Method method, Principal principal, boolean hasPassword)
          Throws a SecurityViolation exception if the given Principal does not have the proper permissions to execute the given method.
 void SecuritySystem.login(Principal principal)
          stores this Principal instance in the current thread context for authenticating and authorizing all actions.
 void SecuritySystemHolder.login(Principal principal)
           
 

Uses of Principal in ome.security.basic
 

Methods in ome.security.basic that return Principal
 Principal CurrentDetails.getLast()
           
 Principal PrincipalHolder.getLast()
          Get the last, i.e. currently active, principal.
 

Methods in ome.security.basic with parameters of type Principal
 void BasicMethodSecurity.checkMethod(Object o, Method m, Principal p, boolean hasPassword)
          See MethodSecurity#checkMethod(Object, Method, Principal)
 void BasicSecuritySystem.login(Principal principal)
           
 void CurrentDetails.login(Principal principal)
           
 void PrincipalHolder.login(Principal principal)
          Add a new principal context to the stack.
 

Uses of Principal in ome.security.sharing
 

Methods in ome.security.sharing with parameters of type Principal
 void SharingSecuritySystem.login(Principal principal)
           
 

Uses of Principal in ome.services.blitz.fire
 

Fields in ome.services.blitz.fire declared as Principal
 Principal Ring.principal
           
 

Methods in ome.services.blitz.fire that return Principal
 Principal Ring.principal()
           
 

Constructors in ome.services.blitz.fire with parameters of type Principal
AopContextInitializer(ServiceFactory sf, Principal p, boolean hasPassword)
           
 

Uses of Principal in ome.services.blitz.impl
 

Methods in ome.services.blitz.impl that return Principal
 Principal ServiceFactoryI.getPrincipal()
           
 

Constructors in ome.services.blitz.impl with parameters of type Principal
ServiceFactoryI(boolean reusedSession, Ice.Current current, Glacier2.SessionControlPrx control, OmeroContext context, SessionManager manager, Executor executor, Principal p, List<HardWiredInterceptor> interceptors, TopicManager topicManager, Registry registry)
           
ServiceFactoryI(Ice.Current current, Glacier2.SessionControlPrx control, OmeroContext context, SessionManager manager, Executor executor, Principal p, List<HardWiredInterceptor> interceptors, TopicManager topicManager, Registry registry)
           
 

Uses of Principal in ome.services.blitz.redirect
 

Methods in ome.services.blitz.redirect that return Principal
 Principal Redirector.Context.principal()
          Principal instance which can be used for internal calls the Executor.
 

Uses of Principal in ome.services.fulltext
 

Constructors in ome.services.fulltext with parameters of type Principal
FullTextThread(SessionManager manager, Executor executor, FullTextIndexer indexer, FullTextBridge bridge, Principal principal)
          Main constructor.
FullTextThread(SessionManager manager, Executor executor, FullTextIndexer indexer, FullTextBridge bridge, Principal principal, boolean waitForLock)
          Main constructor.
 

Uses of Principal in ome.services.licenses
 

Methods in ome.services.licenses with parameters of type Principal
 void LicenseBean.enterMethod(byte[] token, Principal p)
          See LicenseStore#enterValid(byte[])
 void LicenseStore.enterMethod(byte[] token, Principal p)
          Increments the number of currently active methods associated with a single license and prevents timeouts during the method call.
 void Store.enterMethod(byte[] token, Principal p)
           
 void LicenseBean.exitMethod(byte[] token, Principal p)
          See LicenseStore#exitMethod(byte[])
 void LicenseStore.exitMethod(byte[] token, Principal p)
          Decrements the number of active methods associated with a single license and timestamps the last use of the license.
 void Store.exitMethod(byte[] token, Principal p)
           
 Object LicenseWiring.handleILicense(MethodInvocation mi, Principal p)
          This method implements special handling for calls to ILicense.
 

Uses of Principal in ome.services.roi
 

Constructors in ome.services.roi with parameters of type Principal
PopulateRoiJob(Roles roles, Principal principal, Executor executor, File source)
           
 

Uses of Principal in ome.services.scripts
 

Constructors in ome.services.scripts with parameters of type Principal
ScriptFinder(Roles roles, Principal principal, Executor executor, File source)
           
ScriptRepoHelper(File dir, Executor ex, Principal p, Roles roles)
           
ScriptRepoHelper(String uuid, File dir, Executor ex, Principal p, Roles roles)
           
 

Uses of Principal in ome.services.sessions
 

Fields in ome.services.sessions declared as Principal
protected  Principal SessionManagerImpl.asroot
          A private session for use only by this instance for running methods via Executor.
 

Methods in ome.services.sessions with parameters of type Principal
 ome.model.meta.Session SessionBean.createSession(Principal principal, String credentials)
           
 ome.model.meta.Session SessionBean.createSessionWithTimeout(Principal principal, long milliseconds)
           
 ome.model.meta.Session SessionBean.createSessionWithTimeouts(Principal principal, long timeToLiveMilliseconds, long timeToIdleMilliseconds)
           
 ome.model.meta.Share SessionManager.createShare(Principal principal, boolean enabled, long timeToLive, String eventType, String description, long groupId)
           
 ome.model.meta.Share SessionManagerImpl.createShare(Principal principal, boolean enabled, long timeToLive, String eventType, String description, long groupId)
           
 ome.model.meta.Session SessionManager.createWithAgent(Principal principal, String agent)
           
 ome.model.meta.Session SessionManagerImpl.createWithAgent(Principal principal, String agent)
           
 ome.model.meta.Session SessionManager.createWithAgent(Principal principal, String credentials, String agent)
           
 ome.model.meta.Session SessionManagerImpl.createWithAgent(Principal _principal, String credentials, String agent)
           
 EventContext SessionManager.getEventContext(Principal principal)
          Provides a partial EventContext for the current Session.
 EventContext SessionManagerImpl.getEventContext(Principal principal)
           
 ome.model.IObject SessionManager.setSecurityContext(Principal principal, ome.model.IObject obj)
          Sets the context for the current session to the given value.
 ome.model.IObject SessionManagerImpl.setSecurityContext(Principal principal, ome.model.IObject obj)
           
 

Uses of Principal in ome.services.throttling
 

Constructors in ome.services.throttling with parameters of type Principal
Adapter(Object callback, Ice.Current current, IceMapper mapper, Executor ex, Principal p, Executor.Work work)
           
 

Uses of Principal in ome.services.util
 

Fields in ome.services.util declared as Principal
protected  Principal ExecutionThread.principal
           
 

Methods in ome.services.util that return Principal
 Principal ExecutionThread.getPrincipal()
           
 Principal Executor.principal()
          Returns a Principal representing your current session or null, if none is active.
 Principal Executor.Impl.principal()
           
 

Methods in ome.services.util with parameters of type Principal
 Object Executor.execute(Principal p, Executor.Work work)
          Executes a Executor.Work instance wrapped in two layers of AOP.
 Object Executor.Impl.execute(Principal p, Executor.Work work)
          Executes a Executor.Work instance wrapped in two layers of AOP.
 

Constructors in ome.services.util with parameters of type Principal
ExecutionThread(SessionManager manager, Executor executor, Executor.Work work, Principal principal)
          Main constructor.
 

Uses of Principal in ome.system
 

Fields in ome.system declared as Principal
protected  Principal SessionInitializer.principal
          Principal given by the user
 

Methods in ome.system that return Principal
 Principal SessionInitializer.createPrincipal()
           
 

Methods in ome.system with parameters of type Principal
 void SessionInitializer.setPrincipal(Principal principal)
           
 

Uses of Principal in omero.grid
 

Constructors in omero.grid with parameters of type Principal
InteractiveProcessorI(Principal p, SessionManager mgr, Executor ex, omero.grid.ProcessorPrx prx, omero.model.Job job, long timeout, Glacier2.SessionControlPrx control, ParamsHelper helper)
           
ParamsHelper(ParamsHelper.Acquirer acq, Executor ex, Principal p)
           
 

Uses of Principal in omero.util
 

Methods in omero.util that return Principal
static Principal IceMapper.convert(omero.sys.Principal old)
           
 



OmeroJava Api

Version: Beta-4.2.0-r7571-b29

Copyright © 2009 The University of Dundee. All Rights Reserved.