[jboss-jira] [JBoss JIRA] (ELY-1537) PolicyContext.getContext("javax.security.auth.Subject.container")

Derek Horton (JIRA) issues at jboss.org
Wed Mar 14 18:19:00 EDT 2018


    [ https://issues.jboss.org/browse/ELY-1537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13546137#comment-13546137 ] 

Derek Horton commented on ELY-1537:
-----------------------------------

In EAP 7.1, org.wildfly.security.auth.server.SecurityDomain appears to be shipped in a private module:

<module xmlns="urn:jboss:module:1.5" name="org.wildfly.security.elytron-private">                                                                                      
    <properties>                                                                                                                                                       
        <property name="jboss.api" value="private"/>                                                                                                                   
    </properties> 
   ...
   ...

Perhaps, I am looking at the wrong class.

> PolicyContext.getContext("javax.security.auth.Subject.container")
> -----------------------------------------------------------------
>
>                 Key: ELY-1537
>                 URL: https://issues.jboss.org/browse/ELY-1537
>             Project: WildFly Elytron
>          Issue Type: Bug
>    Affects Versions: 1.2.3.Final
>            Reporter: Ilia Vassilev
>            Assignee: Darran Lofthouse
>
> PolicyContext.getContext("javax.security.auth.Subject.container") returns null when using elytron to protect a web application.
> This should return the authenticated subject.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list