javax.resource.spi.work
Class SecurityContext
java.lang.Object
javax.resource.spi.work.SecurityContext
- All Implemented Interfaces:
- Serializable, WorkContext
public abstract class SecurityContext
- extends Object
- implements WorkContext
- Since:
- 1.6
- Version:
- $Rev: 920245 $ $Date: 2010-03-08 10:25:34 +0100 (Mo, 08. Mär 2010) $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityContext
public SecurityContext()
getName
public String getName()
- Human readable name of the inflow context
- Specified by:
getName
in interface WorkContext
- Returns:
- human readable name of the inflow context
getDescription
public String getDescription()
- Human readable description of the inflow context
- Specified by:
getDescription
in interface WorkContext
- Returns:
- human-readable description of the inflow context
setupSecurityContext
public abstract void setupSecurityContext(CallbackHandler callbackHandler,
Subject executionSubject,
Subject serviceSubject)
- Use the info supplied by the container to set up the security context in the work instance.
- Parameters:
callbackHandler
- CallbackHandler that can handle the jaspi callbacksexecutionSubject
- non-null client subject to be filled in by the inflow contextserviceSubject
- non-null service subject that identifies the app server container
Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.