org.mule.security
Class DefaultSecurityContext

java.lang.Object
  extended by org.mule.security.DefaultSecurityContext
All Implemented Interfaces:
SecurityContext

public class DefaultSecurityContext
extends Object
implements SecurityContext

Trivial SecurityContext implementation which simply holds the Authentication object.


Constructor Summary
DefaultSecurityContext(Authentication authentication)
           
 
Method Summary
 Authentication getAuthentication()
           
 void setAuthentication(Authentication authentication)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSecurityContext

public DefaultSecurityContext(Authentication authentication)
Method Detail

getAuthentication

public final Authentication getAuthentication()
Specified by:
getAuthentication in interface SecurityContext

setAuthentication

public final void setAuthentication(Authentication authentication)
Specified by:
setAuthentication in interface SecurityContext


Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.