private AuthenticationMechanism parseAuthenticationMechanism(XMLStreamReader reader) throws XMLStreamException,
ParserException
{
XsdString authenticationMechanismType = NULL_XSDSTRING;
CredentialInterfaceEnum credentialInterface = null;
String cIId = null;
ArrayList<LocalizedXsdString> description = new ArrayList<LocalizedXsdString>();
//getting attributes
String id = reader.getAttributeValue(null, XML.IdAttribute.ID.getLocalName());