Skip navigation links


oracle.iam.platform.auth.api
Interface AppServerAutologinHandler


public interface AppServerAutologinHandler

AppServerAutologinHander is used for making programmatic login while invoked from the server code The main purpose of constructing was to avoid repeated login at forgot password. Where, user can be authenticated and redirected to a protected page. This api can also be used to redo the login and refresh the subject principals based on current conditions. Eg. In case of exceptional conditions like forced change password, principals are recalculated after the action


Method Summary
 void doAutologin(java.lang.String username, char[] password, HttpServletRequest request)
          Provides programmatic login to session in the request
 void doSignatureAutologin(java.lang.String username, HttpServletRequest request)
          Provides programmatic login to session in the request.

 

Method Detail

doAutologin

void doAutologin(java.lang.String username,
                 char[] password,
                 HttpServletRequest request)
                 throws javax.security.auth.login.LoginException
Provides programmatic login to session in the request
Throws:
javax.security.auth.login.LoginException - In case authentication fails

doSignatureAutologin

void doSignatureAutologin(java.lang.String username,
                          HttpServletRequest request)
                          throws javax.security.auth.login.LoginException
Provides programmatic login to session in the request. This method uses the signature for performing autologin. It is assumed that this is invoked from components of OIM application.
Throws:
javax.security.auth.login.LoginException - In case authentication fails

Skip navigation links


Copyright © 2010, Oracle and/or its affiliates. All rights reserved.