org.jbpm.security
Interface AuthenticationService

All Superinterfaces:
java.io.Serializable, Service
All Known Implementing Classes:
DefaultAuthenticationService, SubjectAuthenticationService

public interface AuthenticationService
extends Service

Responsible for knowing which user is currently logged in.

Author:
Original author n.n. (maybe Tom?), bernd.ruecker@camunda.com

Method Summary
 java.lang.String getActorId()
          retrieve the currently authenticated actor
 void setActorId(java.lang.String actorId)
          set the currently authenticated actor.
 
Methods inherited from interface org.jbpm.svc.Service
close
 

Method Detail

getActorId

java.lang.String getActorId()
retrieve the currently authenticated actor


setActorId

void setActorId(java.lang.String actorId)
set the currently authenticated actor. This method maybe ignored by some implementations (e.g. when using JAAS it is not a good idea to change the authenticated actor).



Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.