Class AbstractSciTokenAuthzFactory
- java.lang.Object
-
- org.dcache.xrootd.plugins.authz.scitokens.AbstractSciTokenAuthzFactory
-
- All Implemented Interfaces:
AuthorizationFactory
public abstract class AbstractSciTokenAuthzFactory extends java.lang.Object implements AuthorizationFactory
Needs to be subclassed to provide the implementation-specific token validator.
-
-
Constructor Summary
Constructors Constructor Description AbstractSciTokenAuthzFactory()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description AuthorizationHandlercreateHandler(io.netty.channel.ChannelHandlerContext ctx)java.lang.StringgetDescription()java.lang.StringgetName()protected abstract TokenValidatorgetValidatorInstance()voidsetStrict(boolean strict)
-
-
-
Method Detail
-
createHandler
public AuthorizationHandler createHandler(io.netty.channel.ChannelHandlerContext ctx)
- Specified by:
createHandlerin interfaceAuthorizationFactory
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescriptionin interfaceAuthorizationFactory
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceAuthorizationFactory
-
setStrict
public void setStrict(boolean strict)
-
getValidatorInstance
protected abstract TokenValidator getValidatorInstance()
-
-