[cas-user] About CAS SLO

2017-11-26 Thread ifeengwd2012
My cas version: 4.2.x cas-server-util.jar 【SimpleHttpClientFactoryBean.java】 @Override public boolean sendMessageToEndPoint(final HttpMessage message) { Assert.notNull(this.httpClient); try { final HttpPost request = new HttpPost(message.getUrl().toURI());

[cas-user] Re: Cas 5.1 How to get client's service url.

2017-11-26 Thread Andy Ng
Hi again, I have just dig deeper in the source code, and I found the way to extract the *service URL*, here how it can be done in CAS 5.2.0-RC4 (I am too lazy to test it in other version, please change the code accordingly) public class CustomAuthenticationHandler implements

[cas-user] Re: Cas 5.1 How to get client's service url.

2017-11-26 Thread Andy Ng
In that case, I would suggest using a custom template. And make all the username, password parameters to be hidden. Or maybe create a loading ... so user know they are being redirected. Here are how to set up custom template:

Re: [cas-user] How to get all groups that a user is a member of? in CAS 5.0.10 with LDAP

2017-11-26 Thread Sanjaya Addula
Already tried this but no luck :( On Sun, Nov 26, 2017 at 5:46 AM, Jeffrey Ramsay wrote: > Try adding "member" to --- cas.authn.ldap[0].principalAtt > ributeList=sn,title,mail,telephoneNumber,mobile,manager > > On Thu, Nov 23, 2017 at 1:31 PM, Sanjaya Addula < >

[cas-user] Re: Cas 5.1 How to get client's service url.

2017-11-26 Thread snaffy
On the issue of using a hostname, I need it to retrieve a user from the database - the user is searched using his name and an additional parameter that I can specify using the hostname. As for your suggestions, they are also useful. This is the next step I am going to take, namely: I would