Author: anil.saldhana(a)jboss.com
Date: 2011-03-02 17:24:29 -0500 (Wed, 02 Mar 2011)
New Revision: 790
Modified:
federation/trunk/picketlink-web/src/main/java/org/picketlink/identity/federation/web/handlers/saml2/SAML2AuthenticationHandler.java
Log:
PLFED-140: use the Name rather than NameFormat
Modified:
federation/trunk/picketlink-web/src/main/java/org/picketlink/identity/federation/web/handlers/saml2/SAML2AuthenticationHandler.java
===================================================================
---
federation/trunk/picketlink-web/src/main/java/org/picketlink/identity/federation/web/handlers/saml2/SAML2AuthenticationHandler.java 2011-03-02
22:10:46 UTC (rev 789)
+++
federation/trunk/picketlink-web/src/main/java/org/picketlink/identity/federation/web/handlers/saml2/SAML2AuthenticationHandler.java 2011-03-02
22:24:29 UTC (rev 790)
@@ -546,7 +546,7 @@
AttributeType attr = obj.getAttribute();
if (roleKeys.size() > 0)
{
- if (!roleKeys.contains(attr.getNameFormat()))
+ if (!roleKeys.contains(attr.getName()))
continue;
}
List<Object> attributeValues = attr.getAttributeValue();
Show replies by date