After authentication I am getting null while trying to access
request.getRemoteUser() and request.getUserPrincipal()
As can be see from the cas logs given below the principal is getting
populated along with the attributes. Does anyone have any clues.
- Attempting to resolve a principal...
- Attempting to resolve a principal...
- Attempting to resolve a principal...
- Attempting to resolve a principal...
- Creating SimplePrincipal for [pdas2]
- Creating SimplePrincipal for [pdas2]
- Resolved pdas2. Trying LDAP resolve now...
- Resolved pdas2. Trying LDAP resolve now...
- LDAP search with filter "(uid=pdas2)"
- LDAP search with filter "(uid=pdas2)"
- returning searchcontrols: scope=2; search base=ou=users,ou=system;
attributes=[uid]; timeout=1000
- returning searchcontrols: scope=2; search base=ou=users,ou=system;
attributes=[uid]; timeout=1000
- Resolved pdas2 to pdas2
- Resolved pdas2 to pdas2
- Creating SimplePrincipal for [pdas2]
- Creating SimplePrincipal for [pdas2]
- Created seed map='{username=[pdas2]}' for uid='pdas2'
- Created seed map='{username=[pdas2]}' for uid='pdas2'
- Adding attribute 'uid' with value '[pdas2]' to query builder 'null'
- Adding attribute 'uid' with value '[pdas2]' to query builder 'null'
- Generated query builder '(uid=pdas2)' from query Map {username=[pdas2]}.
- Generated query builder '(uid=pdas2)' from query Map {username=[pdas2]}.
- Removed cookie with name [CASPRIVACY]
- Removed cookie with name [CASPRIVACY]
- Added cookie with name [CASTGC] and value
[TGT-1-CpNJdJLr7l3yDjkfSxb2JG3ylyyPPEabUMkEsEaf1bxZebp5Ye-cas]
- Added cookie with name [CASTGC] and value
[TGT-1-CpNJdJLr7l3yDjkfSxb2JG3ylyyPPEabUMkEsEaf1bxZebp5Ye-cas]
- Granted service ticket [ST-1-h7WRuBLf4cX6i1eYUQMo-cas] for service
[https://127.0.0.1:8443/ESCWeb/sso/home.jsp] for user [pdas2]
- Granted service ticket [ST-1-h7WRuBLf4cX6i1eYUQMo-cas] for service
[https://127.0.0.1:8443/ESCWeb/sso/home.jsp] for user [pdas2]
2012-05-25 13:45:45,812 INFO
[org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] -
Beginning ticket cleanup.
--
View this message in context:
http://jasig.275507.n4.nabble.com/request-getRemoteUser-and-request-getUserPrincipal-return-null-after-authentication-tp4654194.html
Sent from the CAS Users mailing list archive at Nabble.com.
--
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