public class ElytronSubjectFactory extends Object implements org.jboss.jca.core.spi.security.SubjectFactory, Capabilities
SubjectFactory implementation. It uses an AuthenticationContext to select a configuration
that matches the resource URI to obtain the username and password pair that will be inserted into the constructed
Subject instance.AUTHENTICATION_CONTEXT_CAPABILITY, DATA_SOURCE_CAPABILITY, DATA_SOURCE_CAPABILITY_NAME, ELYTRON_SECURITY_DOMAIN_CAPABILITY, JCA_NAMING_CAPABILITY, JCA_NAMING_CAPABILITY_NAME, RESOURCE_ADAPTER_CAPABILITY, RESOURCE_ADAPTER_CAPABILITY_NAME| Constructor and Description |
|---|
ElytronSubjectFactory()
Constructor
|
ElytronSubjectFactory(org.wildfly.security.auth.client.AuthenticationContext authenticationContext,
URI targetURI)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Subject |
createSubject() |
Subject |
createSubject(String authenticationContextName) |
String |
toString() |
public Subject createSubject()
createSubject in interface org.jboss.jca.core.spi.security.SubjectFactorypublic Subject createSubject(String authenticationContextName)
createSubject in interface org.jboss.jca.core.spi.security.SubjectFactoryCopyright © 2020 JBoss by Red Hat. All rights reserved.