[jboss-jira] [JBoss JIRA] (WFCORE-3398) Elytron, wrong capabilities registered
Darran Lofthouse (JIRA)
issues at jboss.org
Thu Nov 2 11:11:01 EDT 2017
[ https://issues.jboss.org/browse/WFCORE-3398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13485214#comment-13485214 ]
Darran Lofthouse commented on WFCORE-3398:
------------------------------------------
The principal decoder / principal transformer in a single resource is not a bug.
> Elytron, wrong capabilities registered
> --------------------------------------
>
> Key: WFCORE-3398
> URL: https://issues.jboss.org/browse/WFCORE-3398
> Project: WildFly Core
> Issue Type: Bug
> Components: Security
> Reporter: Martin Choma
> Assignee: Darran Lofthouse
>
> I wen throught resources and
> * trust-manager is registered as credential-store besides trust-manager
> * some *-principal-decoder are registered as principal-transformer besided principal-decoder
> {code}
> "trust-manager" => {
> "description" => "A trust manager definition for creating the TrustManager[] as used to create an SSLContext.",
> "model-description" => {"*" => {
> "description" => "A trust manager definition for creating the TrustManager[] as used to create an SSLContext.",
> "capabilities" => [
> {
> "name" => "org.wildfly.security.trust-manager",
> "dynamic" => true
> },
> {
> "name" => "org.wildfly.security.credential-store",
> "dynamic" => true
> }
> ],
> "constant-principal-decoder" => {
> "description" => "Definition of a principal decoder that always returns the same constant.",
> "model-description" => {"*" => {
> "description" => "Definition of a principal decoder that always returns the same constant.",
> "capabilities" => [
> {
> "name" => "org.wildfly.security.principal-transformer",
> "dynamic" => true
> },
> {
> "name" => "org.wildfly.security.principal-decoder",
> "dynamic" => true
> }
> ],
> "x500-attribute-principal-decoder" => {
> "description" => "Definition of a X.500 attribute based principal decoder",
> "model-description" => {"*" => {
> "description" => "Definition of a X.500 attribute based principal decoder",
> "capabilities" => [
> {
> "name" => "org.wildfly.security.principal-transformer",
> "dynamic" => true
> },
> {
> "name" => "org.wildfly.security.principal-decoder",
> "dynamic" => true
> }
> ],
> "concatenating-principal-decoder" => {
> "description" => "A principal decoder definition where the principal decoder is a concatenation of other principal decoders.",
> "model-description" => {"*" => {
> "description" => "A principal decoder definition where the principal decoder is a concatenation of other principal decoders.",
> "capabilities" => [
> {
> "name" => "org.wildfly.security.principal-transformer",
> "dynamic" => true
> },
> {
> "name" => "org.wildfly.security.principal-decoder",
> "dynamic" => true
> }
> ],
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list