@ ReadOperation public Map < String , Object > resolvePrincipalAttributes ( @ Selector final String uid ) { val p = defaultPrincipalResolver . resolve ( new BasicIdentifiableCredential ( uid ) ) ; val map = new HashMap < String , Object > ( ) ; map . put ( "uid" , p . getId ( ) ) ; map . put ( "attributes" , p . getAttributes ( ) ) ; return map ; }
Resolve principal attributes map .