org.modeshape.jcr
Class JcrSecurityContextCredentials

java.lang.Object
  extended by org.modeshape.jcr.JcrSecurityContextCredentials
All Implemented Interfaces:
Serializable, Credentials

public class JcrSecurityContextCredentials
extends Object
implements Credentials

See Also:
Serialized Form

Constructor Summary
JcrSecurityContextCredentials(SecurityContext securityContext)
          Initializes the class with an existing security context.
 
Method Summary
 SecurityContext getSecurityContext()
          Returns the security context for this instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JcrSecurityContextCredentials

public JcrSecurityContextCredentials(SecurityContext securityContext)
Initializes the class with an existing security context.

Parameters:
securityContext - the security context; may not be null
Method Detail

getSecurityContext

public final SecurityContext getSecurityContext()
Returns the security context for this instance.

Returns:
the security context for this instance; never null


Copyright © 2008-2011 JBoss, a division of Red Hat. All Rights Reserved.