org.camunda.bpm.webapp.impl.security
Class SecurityActions

java.lang.Object
  extended by org.camunda.bpm.webapp.impl.security.SecurityActions

public class SecurityActions
extends Object

Author:
Daniel Meyer

Nested Class Summary
static interface SecurityActions.SecurityAction<T>
           
 
Constructor Summary
SecurityActions()
           
 
Method Summary
static
<T> T
runWithAuthentications(SecurityActions.SecurityAction<T> action, Authentications authentications)
           
static
<T> T
runWithoutAuthentication(SecurityActions.SecurityAction<T> action, org.camunda.bpm.engine.ProcessEngine processEngine)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityActions

public SecurityActions()
Method Detail

runWithAuthentications

public static <T> T runWithAuthentications(SecurityActions.SecurityAction<T> action,
                                           Authentications authentications)
                                throws IOException,
                                       javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException

runWithoutAuthentication

public static <T> T runWithoutAuthentication(SecurityActions.SecurityAction<T> action,
                                             org.camunda.bpm.engine.ProcessEngine processEngine)
                                  throws IOException,
                                         javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException


Copyright © 2018 camunda services GmbH. All rights reserved.