Class PlatformGrantedAuthority

java.lang.Object
com.cloudimpl.outstack.spring.security.PlatformGrantedAuthority
All Implemented Interfaces:
java.io.Serializable, org.springframework.security.core.GrantedAuthority

public class PlatformGrantedAuthority
extends java.lang.Object
implements org.springframework.security.core.GrantedAuthority
Author:
nuwan
See Also:
Serialized Form
  • Constructor Details

    • PlatformGrantedAuthority

      public PlatformGrantedAuthority​(java.util.Map<java.lang.String,​PolicyStatement> denyPolicyStmts, java.util.Map<java.lang.String,​PolicyStatement> allowPolicyStmts)
  • Method Details

    • getDenyStatmentByResourceName

      public java.util.Optional<PolicyStatement> getDenyStatmentByResourceName​(java.lang.String resourceName)
    • getAllowStatmentByResourceName

      public java.util.Optional<PolicyStatement> getAllowStatmentByResourceName​(java.lang.String resourceName)
    • getAuthority

      public java.lang.String getAuthority()
      Specified by:
      getAuthority in interface org.springframework.security.core.GrantedAuthority