当前页面:
在线文档首页 >
JBoss JBPM 3.0.4 API 英文版文档
JbpmDefaultAuthenticator (jbpm-3.0.4) - JBoss JBPM 3.0.4 API 英文版文档
org.jbpm.security.authenticator
Class JbpmDefaultAuthenticator
java.lang.Object
org.jbpm.security.authenticator.JbpmDefaultAuthenticator
- All Implemented Interfaces:
- Authenticator
- public class JbpmDefaultAuthenticator
- extends java.lang.Object
- implements Authenticator
maintains a thread local stack of actorId's, the authenticated
actorId is the first one on the stack. Use pushAuthenticatedActorId(String)
and popAuthenticatedActorId()
to manage the stack in a
try-finally block.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JbpmDefaultAuthenticator
public JbpmDefaultAuthenticator()
pushAuthenticatedActorId
public static void pushAuthenticatedActorId(java.lang.String actorId)
getAuthenticatedActorId
public java.lang.String getAuthenticatedActorId()
- Description copied from interface:
Authenticator
- get the actorId of the currently authenticated user.
- Specified by:
getAuthenticatedActorId
in interface Authenticator
popAuthenticatedActorId
public static void popAuthenticatedActorId()
Version : jbpm-3.0.4