Class FlowableAuthenticationSecurityScope

java.lang.Object
com.flowable.core.spring.security.FlowableAuthenticationSecurityScope
All Implemented Interfaces:
SecurityScope

public class FlowableAuthenticationSecurityScope
extends java.lang.Object
implements SecurityScope
Author:
Filip Hrisafov
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected org.springframework.security.core.Authentication authentication  
  • Constructor Summary

    Constructors 
    Constructor Description
    FlowableAuthenticationSecurityScope​(org.springframework.security.core.Authentication authentication)  
  • Method Summary

    Modifier and Type Method Description
    protected java.util.stream.Stream<java.lang.String> extractAuthoritiesStartingWith​(java.lang.String prefix)  
    java.util.Set<java.lang.String> getGroupKeys()
    The group keys for which the security scope is meant for
    SecurityScope getImpersonationScope()
    Return the SecurityScope for the user doing the impersonation.
    java.lang.String getTenantId()
    The tenant id for which the security scope is meant for
    java.lang.String getUserDefinitionKey()
    The user definition key for which the security scope is meant for
    java.lang.String getUserId()
    The id of the user for which the security scope is meant for
    boolean hasAuthority​(java.lang.String authority)
    Check if the security scope has the given authority.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • authentication

      protected final org.springframework.security.core.Authentication authentication
  • Constructor Details

  • Method Details