org.jbpm.security
Class SecurityHelper

java.lang.Object
  extended by org.jbpm.security.SecurityHelper

public class SecurityHelper
extends Object

provides helper methods to access the authentication and authorization services.


Method Summary
static void checkPermission(Permission permission)
          helper method to check the permissions of a jbpm secured operation.
static String getAuthenticatedActorId()
          helper method to look up the authenticated actorId in the current jbpm context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAuthenticatedActorId

public static String getAuthenticatedActorId()
helper method to look up the authenticated actorId in the current jbpm context.


checkPermission

public static void checkPermission(Permission permission)
helper method to check the permissions of a jbpm secured operation.



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