|
|
Custom Authenticating, is this possible?
I have a web application, deployed as an EAR in GlassFish.
I need to authenticate my users against a remote service, and I am wondering if its possible to use Spring Security to use this remote service, and use all of the other Spring Security features.
I would wrap the remote service in a POJO, and I would like Spring Security to use the POJO, and the POJO would just return a true/false if the user is authenticated.
I would want my application to house the authority aspect, that is, house the roles.
I am wondering if this is possible?
Sure it's possible. What credentials would the user be providing to log in? Username and password? You may only need a custom AuthenticationProvider.
Originally Posted by pmularienSure it's possible. What credentials would the user be providing to log in? Username and password? You may only need a custom AuthenticationProvider.Could you point me to a good example of creating and using a custom AuthenticationProvider? |
|