credentials.put( contentEntry.getKey().toString(), result[ 0 ] );
final List<Role> roles = new ArrayList<Role>();
if ( result.length > 1 ) {
for ( int i = 1; i < result.length; i++ ) {
final String currentRole = result[ i ];
roles.add( new RoleImpl( currentRole ) );
}
this.roles.put( contentEntry.getKey().toString(), roles );
}
}