Class AbstractGrpcSecurityMetadataSource
java.lang.Object
net.devh.boot.grpc.server.security.check.AbstractGrpcSecurityMetadataSource
- All Implemented Interfaces:
GrpcSecurityMetadataSource
,AopInfrastructureBean
,SecurityMetadataSource
- Direct Known Subclasses:
ManualGrpcSecurityMetadataSource
public abstract class AbstractGrpcSecurityMetadataSource
extends Object
implements GrpcSecurityMetadataSource
Abstract implementation of
GrpcSecurityMetadataSource
which resolves the secured object type to a
ServerCall
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Collection<ConfigAttribute>
getAttributes
(Object object) final boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.devh.boot.grpc.server.security.check.GrpcSecurityMetadataSource
getAttributes
Methods inherited from interface org.springframework.security.access.SecurityMetadataSource
getAllConfigAttributes
-
Constructor Details
-
AbstractGrpcSecurityMetadataSource
public AbstractGrpcSecurityMetadataSource()
-
-
Method Details
-
getAttributes
public final Collection<ConfigAttribute> getAttributes(Object object) throws IllegalArgumentException - Specified by:
getAttributes
in interfaceSecurityMetadataSource
- Throws:
IllegalArgumentException
-
supports
- Specified by:
supports
in interfaceSecurityMetadataSource
-