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,Dependency,ServiceConfigurator,ServiceNameProvider
public class DigestAuthTokenServiceConfigurator extends AuthTokenServiceConfigurator<BinaryAuthToken>
Builds an AUTH token, functionally equivalent toorg.jgroups.auth.MD5Token, 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)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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.wildfly.clustering.service.ServiceNameProvider
getServiceName
-
-
-
-
Method Detail
-
configure
public 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)
-
-