[jboss-jira] [JBoss JIRA] (ELY-835) SecurityIdentity Automatic Outflow
Jan Kalina (JIRA)
issues at jboss.org
Wed Jan 18 09:00:00 EST 2017
[ https://issues.jboss.org/browse/ELY-835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13350427#comment-13350427 ]
Jan Kalina edited comment on ELY-835 at 1/18/17 8:59 AM:
---------------------------------------------------------
[~dlofthouse] Do I understand correctly, this is what is supposed to work?
{code:java}
SecurityIdentity identity = trustingDomain.getAnonymousSecurityIdentity().createRunAsIdentity("joe", false);
{code}
(User "joe" exists in domain, which is in trusted-domains of trustingDomain.)
Especialy this should give the same identity and roles as it would be called under the domain, where is "joe" present?
was (Author: honza889):
[~dlofthouse] Do I understand correctly, this is what is supposed to work?
{code:java}
SecurityIdentity inflowedIdentity = trustingDomain.getAnonymousSecurityIdentity().createRunAsIdentity("joe", false);
{code}
(User "joe" exists in domain, which is in trusted-domains of trustingDomain.)
Especialy this should give the same identity and roles as it would be called under the domain, where is "joe" present?
> SecurityIdentity Automatic Outflow
> ----------------------------------
>
> Key: ELY-835
> URL: https://issues.jboss.org/browse/ELY-835
> Project: WildFly Elytron
> Issue Type: Enhancement
> Components: API / SPI
> Reporter: Darran Lofthouse
> Assignee: Jan Kalina
> Priority: Blocker
> Fix For: 1.1.0.Beta20
>
>
> We previously discussed that when runAs is called on a SecurityIdentity this should pro-actively outflow to predefined security domains (which it has in trusted-security-domains?) so it does not need to be manually inflowed at a later point.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list