com.sun.identity.authentication.spi
Class PagePropertiesCallback

java.lang.Object
  |
  +--com.sun.identity.authentication.spi.PagePropertiesCallback
All Implemented Interfaces:
javax.security.auth.callback.Callback

public class PagePropertiesCallback
extends java.lang.Object
implements javax.security.auth.callback.Callback

This PagePropertiesCallback class implements Callback and used for exchanging all UI related attributes information such as template name, errorState to indicate whether a template is an error page, page header, image name , page timeout value, name of module.


Constructor Summary
PagePropertiesCallback(java.lang.String name, java.lang.String header, java.lang.String image, int timeOut, java.lang.String templateName, boolean error, java.lang.String page_state)
          Constructs a PagePropertiesCallback for a given module name, header string, page image, page time out, JSP template name, error state and page state.
 
Method Summary
 java.util.List getAttribute()
          Returns the list of authentication module data store specific attributes.
 boolean getErrorState()
          Returns the authentication module error state.
 java.lang.String getHeader()
          Returns the authentication module header string display.
 java.lang.String getImage()
          Returns the authentication module display page image.
 java.lang.String getModuleName()
          Returns the authentication module name.
 java.lang.String getPageState()
          Returns the authentication module display page state.
 java.util.List getRequire()
          Returns the list of authentication module display attributes which are required to be entered by the end user.
 java.lang.String getTemplateName()
          Returns the authentication module display page template name.
 int getTimeOutValue()
          Returns the authentication module display page time out value.
 void setAttribute(java.util.List attribute)
          Sets the list of authentication module data store specific attributes.
 void setHeader(java.lang.String header)
          Sets the authentication module header string display.
 void setPageState(java.lang.String page_state)
          Sets the authentication module display page state.
 void setRequire(java.util.List require)
          Sets the list of authentication module display attributes which are required to be entered by the end user.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PagePropertiesCallback

public PagePropertiesCallback(java.lang.String name,
                              java.lang.String header,
                              java.lang.String image,
                              int timeOut,
                              java.lang.String templateName,
                              boolean error,
                              java.lang.String page_state)
Constructs a PagePropertiesCallback for a given module name, header string, page image, page time out, JSP template name, error state and page state.
Parameters:
name - Name of the authentication module.
header - Header string for the authentication module display page.
image - Image for the authentication module display page.
timeOut - Time out value for the authentication module display page.
templateName - JSP page name for the authentication module display.
error - Error state for the authentication module.
page_state - State of the authentication module display page.
Method Detail

getImage

public java.lang.String getImage()
Returns the authentication module display page image.
Returns:
the image for the authentication module display page.

getTimeOutValue

public int getTimeOutValue()
Returns the authentication module display page time out value.
Returns:
the time out value for the authentication module display page.

getPageState

public java.lang.String getPageState()
Returns the authentication module display page state.
Returns:
the state for the authentication module display page.

getTemplateName

public java.lang.String getTemplateName()
Returns the authentication module display page template name.
Returns:
the JSP page template of the authentication module display.

getModuleName

public java.lang.String getModuleName()
Returns the authentication module name.
Returns:
the name of the authentication module.

getHeader

public java.lang.String getHeader()
Returns the authentication module header string display.
Returns:
the header string display for the authentication module page.

getErrorState

public boolean getErrorState()
Returns the authentication module error state.
Returns:
the error state for the authentication module page.

getAttribute

public java.util.List getAttribute()
Returns the list of authentication module data store specific attributes.
Returns:
the list of authentication module data store specific attributes.

getRequire

public java.util.List getRequire()
Returns the list of authentication module display attributes which are required to be entered by the end user.
Returns:
the list of authentication module display attributes which are required to be entered by the end user.

setHeader

public void setHeader(java.lang.String header)
Sets the authentication module header string display.
Parameters:
header - the header string display for the authentication module page.

setAttribute

public void setAttribute(java.util.List attribute)
Sets the list of authentication module data store specific attributes.
Parameters:
attribute - the list of authentication module data store specific attributes.

setRequire

public void setRequire(java.util.List require)
Sets the list of authentication module display attributes which are required to be entered by the end user.
Parameters:
require - the list of authentication module display attributes which are required to be entered by the end user.

setPageState

public void setPageState(java.lang.String page_state)
Sets the authentication module display page state.
Parameters:
page_state - the state for the authentication module display page.


Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.