|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SSOAdapter
Defines a pluggable interface to be implemented for SSO configurations. Implementations of this interface are responsible checking if the user is authenticated, and returning the ITIM userid when SSO is enabled Note: Additional ITIM server configurations are required to enable SSO. See the configuration guide for more details.
Method Summary | |
---|---|
java.lang.String |
getUserId(javax.servlet.http.HttpServletRequest request)
Deprecated. Returns the ITIM User ID that identifies the authenticated user. |
boolean |
isAuthenticated(javax.servlet.http.HttpServletRequest request)
Deprecated. Given the request object return if the request has been authenticated via an SSO provider |
Method Detail |
---|
boolean isAuthenticated(javax.servlet.http.HttpServletRequest request) throws ITIMUIException
request
- the servlet request
true
if the request has been authenticated false
otherwise
ITIMUIException
- if an error occurs while checking the authentication statejava.lang.String getUserId(javax.servlet.http.HttpServletRequest request) throws ITIMUISSOUserIdNotFoundException, ITIMUIException
request
- the servlet request
null
or empty
string, but instead throw an exception if the user id is not found or valid
ITIMUISSOUserIdNotFoundException
- if the sso adapter is unable to determine the itim user id
ITIMUIException
- if an error occurs while determining the user id
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |