private ResourceAdapterSecurity parseResourceAdapaterSecurity(XMLStreamReader reader)
throws XMLStreamException, ParserException
{
AnonPrincipal dpn = null;
AnonPrincipal mapn = null;
AnonPrincipalCaller rapn = null;
AnonPrincipalCaller rwapn = null;
SecurityWorkContext swc = null;
while (reader.hasNext())
{
switch (reader.nextTag())