[jboss-jira] [JBoss JIRA] (WFLY-5894) Usage of context.getOriginalRootResource().navigate(pathAddress) should be reviewed in the picketlink subsystem

James Perkins (JIRA) issues at jboss.org
Mon Dec 21 14:08:00 EST 2015


James Perkins created WFLY-5894:
-----------------------------------

             Summary: Usage of context.getOriginalRootResource().navigate(pathAddress) should be reviewed in the picketlink subsystem
                 Key: WFLY-5894
                 URL: https://issues.jboss.org/browse/WFLY-5894
             Project: WildFly
          Issue Type: Task
          Components: Security
            Reporter: James Perkins
            Assignee: Darran Lofthouse


There are 4 resource definitions that use the {{OperationContext.getOriginalRootResource()}} method. These could be fragile in a composite add/write operation as a {{NoSuchResourceException}} might be thrown during the {{Resource.navigate()}} method.

1. {{org.wildfly.extension.picketlink.federation.model.idp.IdentityProviderResourceDefinition}}
2. {{org.wildfly.extension.picketlink.federation.model.keystore.KeyStoreProviderResourceDefinition}}
3. {{org.wildfly.extension.picketlink.federation.model.saml.SAMLResourceDefinition}}
4. {{org.wildfly.extension.picketlink.federation.model.sp.ServiceProviderResourceDefinition}}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list