Class Authorization
- java.lang.Object
 - 
- org.camunda.bpm.webapp.impl.security.filter.Authorization
 
 
- 
public class Authorization extends java.lang.Object- Author:
 - nico.rehwaldt
 
 
- 
- 
Constructor Summary
Constructors Constructor Description Authorization(Authentication authentication, boolean granted) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidattachHeaders(javax.servlet.http.HttpServletResponse response)static Authorizationdenied(Authentication authentication)AuthorizationforApplication(java.lang.String application)java.lang.StringgetApplication()AuthenticationgetAuthentication()static Authorizationgranted(Authentication authentication)static AuthorizationgrantedUnlessNull(Authentication authentication)booleanisAuthenticated()booleanisGranted() 
 - 
 
- 
- 
Constructor Detail
- 
Authorization
public Authorization(Authentication authentication, boolean granted)
 
 - 
 
- 
Method Detail
- 
getAuthentication
public Authentication getAuthentication()
 
- 
isGranted
public boolean isGranted()
 
- 
forApplication
public Authorization forApplication(java.lang.String application)
 
- 
attachHeaders
public void attachHeaders(javax.servlet.http.HttpServletResponse response)
 
- 
isAuthenticated
public boolean isAuthenticated()
 
- 
getApplication
public java.lang.String getApplication()
 
- 
granted
public static Authorization granted(Authentication authentication)
 
- 
denied
public static Authorization denied(Authentication authentication)
 
- 
grantedUnlessNull
public static Authorization grantedUnlessNull(Authentication authentication)
 
 - 
 
 -