Class DigestAuthTokenServiceConfigurator
- java.lang.Object
-
- org.jboss.as.clustering.controller.CapabilityServiceNameProvider
-
- org.jboss.as.clustering.jgroups.subsystem.AuthTokenServiceConfigurator<BinaryAuthToken>
-
- org.jboss.as.clustering.jgroups.subsystem.DigestAuthTokenServiceConfigurator
-
- All Implemented Interfaces:
Function<String,BinaryAuthToken>,ResourceServiceConfigurator,org.wildfly.clustering.service.Dependency,org.wildfly.clustering.service.ServiceConfigurator,org.wildfly.clustering.service.ServiceNameProvider
public class DigestAuthTokenServiceConfigurator extends AuthTokenServiceConfigurator<BinaryAuthToken>
Builds an AUTH token, functionally equivalent toMD5Token, but can use any digest algorithm supported by the default security provider.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description DigestAuthTokenServiceConfigurator(org.jboss.as.controller.PathAddress address)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BinaryAuthTokenapply(String sharedSecret)org.wildfly.clustering.service.ServiceConfiguratorconfigure(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model)-
Methods inherited from class org.jboss.as.clustering.jgroups.subsystem.AuthTokenServiceConfigurator
build, register
-
Methods inherited from class org.jboss.as.clustering.controller.CapabilityServiceNameProvider
getServiceName
-
-
-
-
Method Detail
-
configure
public org.wildfly.clustering.service.ServiceConfigurator configure(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model) throws org.jboss.as.controller.OperationFailedException- Specified by:
configurein interfaceResourceServiceConfigurator- Overrides:
configurein classAuthTokenServiceConfigurator<BinaryAuthToken>- Throws:
org.jboss.as.controller.OperationFailedException
-
apply
public BinaryAuthToken apply(String sharedSecret)
-
-