org.jbpm.security
Class SecurityHelper

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

public abstract class SecurityHelper
extends java.lang.Object

provides helper methods to access the authentication and authorization services.


Constructor Summary
SecurityHelper()
           
 
Method Summary
static void checkPermission(java.security.Permission permission)
          helper method to check the permissions of a jbpm secured operation.
static java.lang.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
 

Constructor Detail

SecurityHelper

public SecurityHelper()
Method Detail

getAuthenticatedActorId

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


checkPermission

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



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