[jboss-jira] [JBoss JIRA] (ELY-1537) PolicyContext.getContext("javax.security.auth.Subject.container")
Martin Choma (JIRA)
issues at jboss.org
Mon Mar 5 11:32:00 EST 2018
[ https://issues.jboss.org/browse/ELY-1537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13541523#comment-13541523 ]
Martin Choma edited comment on ELY-1537 at 3/5/18 11:31 AM:
------------------------------------------------------------
org.wildfly.security.auth.server.SecurityDomain seems to be public API to me. At least package is guarded against changes by japicmp tool during build [1].
{code:title=module.xml}
<module xmlns="urn:jboss:module:1.5" name="org.wildfly.security.elytron">
<dependencies>
<module name="org.wildfly.security.elytron-private" services="export" export="true">
<exports>
<include-set>
<path name="org/wildfly/security"/>
<path name="org/wildfly/security/auth"/>
<path name="org/wildfly/security/auth/callback"/>
<path name="org/wildfly/security/auth/client"/>
<path name="org/wildfly/security/auth/permission"/>
<path name="org/wildfly/security/auth/principal"/>
<path name="org/wildfly/security/auth/server"/>
<path name="org/wildfly/security/auth/server/event"/>
<path name="org/wildfly/security/auth/util"/>
<path name="org/wildfly/security/authz"/>
<path name="org/wildfly/security/credential"/>
<path name="org/wildfly/security/credential/source"/>
<path name="org/wildfly/security/credential/store"/>
<path name="org/wildfly/security/evidence"/>
<path name="org/wildfly/security/http"/>
<path name="org/wildfly/security/key"/>
<path name="org/wildfly/security/manager"/>
<path name="org/wildfly/security/manager/action"/>
<path name="org/wildfly/security/mechanism"/>
<path name="org/wildfly/security/password"/>
<path name="org/wildfly/security/password/interfaces"/>
<path name="org/wildfly/security/password/spec"/>
<path name="org/wildfly/security/permission"/>
<path name="org/wildfly/security/sasl/util"/>
<path name="org/wildfly/security/ssl"/>
</include-set>
</exports>
</module>
<module name="org.wildfly.common" export="true" />
<module name="org.wildfly.client.config" export="true"/>
</dependencies>
</module>
{code}
[1] https://github.com/wildfly-security/wildfly-elytron/blob/master/pom.xml#L579
was (Author: mchoma):
org.wildfly.security.auth.server.SecurityDomain seems to be public API to me. At least package is guarded against changes by japicmp tool during build [1].
{code:module.xml}
<module xmlns="urn:jboss:module:1.5" name="org.wildfly.security.elytron">
<dependencies>
<module name="org.wildfly.security.elytron-private" services="export" export="true">
<exports>
<include-set>
<path name="org/wildfly/security"/>
<path name="org/wildfly/security/auth"/>
<path name="org/wildfly/security/auth/callback"/>
<path name="org/wildfly/security/auth/client"/>
<path name="org/wildfly/security/auth/permission"/>
<path name="org/wildfly/security/auth/principal"/>
<path name="org/wildfly/security/auth/server"/>
<path name="org/wildfly/security/auth/server/event"/>
<path name="org/wildfly/security/auth/util"/>
<path name="org/wildfly/security/authz"/>
<path name="org/wildfly/security/credential"/>
<path name="org/wildfly/security/credential/source"/>
<path name="org/wildfly/security/credential/store"/>
<path name="org/wildfly/security/evidence"/>
<path name="org/wildfly/security/http"/>
<path name="org/wildfly/security/key"/>
<path name="org/wildfly/security/manager"/>
<path name="org/wildfly/security/manager/action"/>
<path name="org/wildfly/security/mechanism"/>
<path name="org/wildfly/security/password"/>
<path name="org/wildfly/security/password/interfaces"/>
<path name="org/wildfly/security/password/spec"/>
<path name="org/wildfly/security/permission"/>
<path name="org/wildfly/security/sasl/util"/>
<path name="org/wildfly/security/ssl"/>
</include-set>
</exports>
</module>
<module name="org.wildfly.common" export="true" />
<module name="org.wildfly.client.config" export="true"/>
</dependencies>
</module>
{code}
[1] https://github.com/wildfly-security/wildfly-elytron/blob/master/pom.xml#L579
> 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