org.camunda.bpm.webapp.impl.security.filter
Class Authorization
java.lang.Object
org.camunda.bpm.webapp.impl.security.filter.Authorization
public class Authorization
- extends Object
- Author:
- nico.rehwaldt
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Authorization
public Authorization(Authentication authentication,
boolean granted)
getAuthentication
public Authentication getAuthentication()
isGranted
public boolean isGranted()
forApplication
public Authorization forApplication(String application)
attachHeaders
public void attachHeaders(javax.servlet.http.HttpServletResponse response)
isAuthenticated
public boolean isAuthenticated()
getApplication
public String getApplication()
granted
public static Authorization granted(Authentication authentication)
denied
public static Authorization denied(Authentication authentication)
grantedUnlessNull
public static Authorization grantedUnlessNull(Authentication authentication)
Copyright © 2018 camunda services GmbH. All rights reserved.