Sun Java System Access Manager 7.1 Developer's Guide

Callbacks Element

The Callbacks element is used to define the information a module needs to gather from the client requesting authentication. Each Callbacks element signifies a separate screen that can be called during the authentication process.

Nested Elements

The following table describes nested elements for the Callbacks element.

Element 

Required 

Description 

NameCallback

Requests data from the user; for example, a user identification. 

PasswordCallback

Requests password data to be entered by the user. 

ChoiceCallback

Used when the application user must choose from multiple values. 

ConfirmationCallback

Sends button information such as text which needs to be rendered on the module’s screen to the authentication interface. 

HttpCallback

Used by the authentication module with HTTP-based handshaking negotiation. 

SAMLCallback

 

Used for passing either Web artifact or SAML POST response from SAML service to the SAML authentication module when this module requests for the respective credentials. This authentication module behaves as SAML recipient for both (Web artifact or SAML POST response) and retrieves and validates SAML assertions. 

Attributes

The following table describes attributes for the Callbacks element.

length

The number or length of callbacks.

order

Is the sequence of the group of callbacks.

timeout

Number of seconds the user has to enter credentials before the page times out. Default is 60.

template

Defines the UI .jsp template name to be displayed.

image

Defines the UI or page-level image attributes for the UI customization

header

Text header information to be displayed on the UI. Default is Authentication.

error

Indicates whether authentication framework/module needs to terminate the authentication process. If yes, then the value is true. Default is false .