org.ow2.easybeans.security.api
Interface EZBSecurityCurrent


public interface EZBSecurityCurrent

Interface that describes what a security current should provide, ie : a security context.

Author:
Florent Benoit

Method Summary
 EZBSecurityContext getSecurityContext()
          Gets the current context.
 void setSecurityContext(EZBSecurityContext securityContext)
          Associates the given security context to the current thread.
 

Method Detail

getSecurityContext

EZBSecurityContext getSecurityContext()
Gets the current context.

Returns:
SecurityContext return the Security context associated to the current thread or the JVM

setSecurityContext

void setSecurityContext(EZBSecurityContext securityContext)
Associates the given security context to the current thread.

Parameters:
securityContext - Security context to associate to the current thread.


Copyright © 2006-2012 OW2 Consortium. All Rights Reserved.