Class GrpcSecurityMetadataSource

  • All Implemented Interfaces:
    org.springframework.aop.framework.AopInfrastructureBean, org.springframework.security.access.SecurityMetadataSource

    public class GrpcSecurityMetadataSource
    extends java.lang.Object
    implements org.springframework.security.access.SecurityMetadataSource
    • Constructor Summary

      Constructors 
      Constructor Description
      GrpcSecurityMetadataSource​(java.util.Map<io.grpc.MethodDescriptor<?,​?>,​java.util.List<org.springframework.security.access.ConfigAttribute>> methodsMap)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Collection<org.springframework.security.access.ConfigAttribute> getAllConfigAttributes()  
      java.util.Collection<org.springframework.security.access.ConfigAttribute> getAttributes​(java.lang.Object object)  
      boolean supports​(java.lang.Class<?> clazz)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GrpcSecurityMetadataSource

        public GrpcSecurityMetadataSource​(java.util.Map<io.grpc.MethodDescriptor<?,​?>,​java.util.List<org.springframework.security.access.ConfigAttribute>> methodsMap)
    • Method Detail

      • getAttributes

        public java.util.Collection<org.springframework.security.access.ConfigAttribute> getAttributes​(java.lang.Object object)
                                                                                                throws java.lang.IllegalArgumentException
        Specified by:
        getAttributes in interface org.springframework.security.access.SecurityMetadataSource
        Throws:
        java.lang.IllegalArgumentException
      • getAllConfigAttributes

        public java.util.Collection<org.springframework.security.access.ConfigAttribute> getAllConfigAttributes()
        Specified by:
        getAllConfigAttributes in interface org.springframework.security.access.SecurityMetadataSource
      • supports

        public boolean supports​(java.lang.Class<?> clazz)
        Specified by:
        supports in interface org.springframework.security.access.SecurityMetadataSource