Author: anil.saldhana(a)jboss.com
Date: 2010-11-04 16:53:50 -0400 (Thu, 04 Nov 2010)
New Revision: 532
Modified:
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/parsers/util/SAMLParserUtil.java
Log:
javadoc
Modified:
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/parsers/util/SAMLParserUtil.java
===================================================================
---
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/parsers/util/SAMLParserUtil.java 2010-11-04
20:40:06 UTC (rev 531)
+++
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/parsers/util/SAMLParserUtil.java 2010-11-04
20:53:50 UTC (rev 532)
@@ -46,6 +46,12 @@
*/
public class SAMLParserUtil
{
+ /**
+ * Parse an {@code AttributeStatementType}
+ * @param xmlEventReader
+ * @return
+ * @throws ParsingException
+ */
public static AttributeStatementType parseAttributeStatement( XMLEventReader
xmlEventReader ) throws ParsingException
{
AttributeStatementType attributeStatementType = new AttributeStatementType();
@@ -211,6 +217,12 @@
return authnContextType;
}
+ /**
+ * Parse a {@code NameIDType}
+ * @param xmlEventReader
+ * @return
+ * @throws ParsingException
+ */
public static NameIDType parseNameIDType( XMLEventReader xmlEventReader ) throws
ParsingException
{
StartElement nameIDElement = StaxParserUtil.getNextStartElement( xmlEventReader );
@@ -241,9 +253,8 @@
}
String nameIDValue = StaxParserUtil.getElementText( xmlEventReader );
- nameID.setValue( nameIDValue );
+ nameID.setValue( nameIDValue );
-
return nameID;
}
}
\ No newline at end of file
Show replies by date