public abstract class EntityProviderService<T extends PicketLinkFederationService<T>,C extends ProviderConfiguration> extends Object implements PicketLinkFederationService<T>
Constructor and Description |
---|
EntityProviderService(C configuration) |
Modifier and Type | Method and Description |
---|---|
void |
addHandler(org.picketlink.config.federation.handler.Handler handler) |
void |
addHandlerParameter(String handlerType,
org.picketlink.config.federation.KeyValueType keyValueType) |
void |
configure(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
Configures a
DeploymentUnit as a PicketLink deployment. |
protected abstract void |
configureWebComponents(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit) |
protected abstract void |
doConfigureDeployment(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
Subclasses should implement this method to configureDeployment a specific PicketLink Provider type.
|
C |
getConfiguration() |
protected List<Class<? extends org.picketlink.identity.federation.core.saml.v2.interfaces.SAML2Handler>> |
getDefaultHandlers() |
org.jboss.msc.value.InjectedValue<FederationService> |
getFederationService() |
PicketLinkSubsystemMetrics |
getMetrics()
Returns a
PicketLinkSubsystemMetrics . |
static EntityProviderService |
getService(org.jboss.as.controller.OperationContext context,
String alias) |
T |
getValue() |
void |
removeHandler(String handlerType) |
void |
removeHandlerParameter(String handlerType,
String handlerParameterName) |
void |
setConfiguration(C configuration) |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public EntityProviderService(C configuration)
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
start
in interface org.jboss.msc.service.Service<T extends PicketLinkFederationService<T>>
org.jboss.msc.service.StartException
public void stop(org.jboss.msc.service.StopContext context)
stop
in interface org.jboss.msc.service.Service<T extends PicketLinkFederationService<T>>
public void configure(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
PicketLinkFederationService
Configures a DeploymentUnit
as a PicketLink deployment. For example: Identity Providers and Service Providers.
configure
in interface PicketLinkFederationService<T extends PicketLinkFederationService<T>>
public PicketLinkSubsystemMetrics getMetrics()
PicketLinkFederationService
Returns a PicketLinkSubsystemMetrics
.
getMetrics
in interface PicketLinkFederationService<T extends PicketLinkFederationService<T>>
protected List<Class<? extends org.picketlink.identity.federation.core.saml.v2.interfaces.SAML2Handler>> getDefaultHandlers()
protected abstract void configureWebComponents(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
protected abstract void doConfigureDeployment(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
Subclasses should implement this method to configureDeployment a specific PicketLink Provider type. Eg.: Identity Provider or Service Provider.
deploymentUnit
- public T getValue() throws IllegalStateException, IllegalArgumentException
getValue
in interface org.jboss.msc.value.Value<T extends PicketLinkFederationService<T>>
IllegalStateException
IllegalArgumentException
public void addHandler(org.picketlink.config.federation.handler.Handler handler)
public void removeHandler(String handlerType)
public C getConfiguration()
public org.jboss.msc.value.InjectedValue<FederationService> getFederationService()
public void setConfiguration(C configuration)
public void removeHandlerParameter(String handlerType, String handlerParameterName)
public void addHandlerParameter(String handlerType, org.picketlink.config.federation.KeyValueType keyValueType)
public static EntityProviderService getService(org.jboss.as.controller.OperationContext context, String alias)
Copyright © 2018 JBoss by Red Hat. All rights reserved.