>> public Principal resolvePrincipal(Credentials credentials) {
>> UsernamePasswordCredentials usernamePasswordCredentials =
>> (UsernamePasswordCredentials)credentials;
>> String id = usernamePasswordCredentials.getUsername();
>> Map<String, Object> attrs = new HashMap<String, Object>();;
>> attrs.put("test", "value");
>> Principal p = new SimplePrincipal(id, attrs);
>> return p;You're not considering the attribute filtering logic provide by the service manager with this approach, which is likely why you're not receiving attributes. Please configure a proper attributeRepository bean according to https://wiki.jasig.org/display/CASUM/Attributes and then configure attribute release using the service manager. Service manager configuration options are described at https://wiki.jasig.org/display/CASUM/Adding+a+New+Service. M -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
