org.jboss.security.javaee
Class EJBAuthenticationHelper
java.lang.Object
org.jboss.security.javaee.AbstractJavaEEHelper
org.jboss.security.javaee.EJBAuthenticationHelper
public class EJBAuthenticationHelper
- extends AbstractJavaEEHelper
Helper Class for EJB Authentication
- Since:
- Apr 18, 2008
- Version:
- $Revision$
- Author:
- Anil.Saldhana@redhat.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EJBAuthenticationHelper
public EJBAuthenticationHelper(SecurityContext sc)
isTrusted
public boolean isTrusted()
throws IdentityTrustException
- Throws:
IdentityTrustException
isValid
public boolean isValid(Subject subject,
String methodName)
- Authenticate the caller
- Parameters:
p - cred -
- Returns:
pushSubjectContext
public void pushSubjectContext(Subject subject)
- Push the authenticated subject onto the security context
IMPORTANT - this needs to be done after the isValid call
Copyright © 2008 JBoss Inc.. All Rights Reserved.