站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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
  extended byorg.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.


Constructor Summary
JbpmDefaultAuthenticator()
           
 
Method Summary
 java.lang.String getAuthenticatedActorId()
          get the actorId of the currently authenticated user.
static void popAuthenticatedActorId()
           
static void pushAuthenticatedActorId(java.lang.String actorId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JbpmDefaultAuthenticator

public JbpmDefaultAuthenticator()
Method Detail

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