[
https://issues.apache.org/jira/browse/FEDIZ-237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16759797#comment-16759797
]
Colm O hEigeartaigh commented on FEDIZ-237:
-------------------------------------------
The concept of group depends on your implementation. The roles are extracted
from the SAML token and set on the Principal, so you can retrieve them directly
from there. You can also access any of the other SAML attributes by casting the
principal to a FederationPrincipalImpl + calling getClaims() on it.
> Atribute org.apache.fediz.SECURITY_TOKEN NULL after SAML authentication
> ------------------------------------------------------------------------
>
> Key: FEDIZ-237
> URL: https://issues.apache.org/jira/browse/FEDIZ-237
> Project: CXF-Fediz
> Issue Type: Bug
> Components: Plugin
> Affects Versions: 1.4.5
> Environment: Tomcat 8
> ISAM ( IBM) Webseal
>
> FEDIZ 1.4.5
> Reporter: Raj
> Priority: Major
> Labels: FEDIZ, SAML, tomcat8
> Attachments: image-2019-02-01-15-32-36-225.png
>
>
> Hi
> Yesterday I raised issue
> https://issues.apache.org/jira/browse/FEDIZ-236?filter=-2 regarding FEDIZ
> plugin for TOMCAT 7 , where in I got a reply stating , it only works for
> TOMCAT 8.
> I configured the FEDIZ for tomcat 8 and authentication wroks , but I noticed
> that session attribute
> org.apache.fediz.SECURITY_TOKEN value is NULL . See the attached snapshot
> .
>
> My requirement is that after authentication FEDIZ sets the ROLE / GROUP name
> of user in the SESSION or HEADER or TOKEN which I think can be fetched from
> org.apache.fediz.SECURITY_TOKEN but some how that value is NULL . Can any
> one tell me if this is a BUG ??
> Attribute name : org.apache.fediz.SECURITY_TOKEN
> Attribute value : [saml:Assertion: null]
>
>
> !image-2019-02-01-15-32-36-225.png!
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)