| org.jboss.test.security.interfaces.SubjectSession
SubjectSession | public interface SubjectSession extends EJBObject(Code) | | A session facade interface for validating the security context
author: Scott.Stark@jboss.org version: $Revision: 57211 $ |
Method Summary | |
public void | validateCallerContext(String callerName, Set callerPrincipals) Call a method on the ejb/StatelessSession, ejb/StatefulSession, ejb/Entity
ejb-refs and validate that the security context seen after each call
matches the expected context seen at the start of the call. |
validateCallerContext | public void validateCallerContext(String callerName, Set callerPrincipals) throws GeneralSecurityException, RemoteException(Code) | | Call a method on the ejb/StatelessSession, ejb/StatefulSession, ejb/Entity
ejb-refs and validate that the security context seen after each call
matches the expected context seen at the start of the call.
Parameters: callerName - - the Principal.getName expected for the getCallerPrincipal Parameters: callerPrincipals - - Set for the current Subject.getPrincipals set throws: java.security.GeneralSecurityException - |
|
|