| java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException com.lutris.appserver.server.httpPresentation.PageUnauthorizedException
Method Summary | |
public String | getHtmlText() Get the text to display in the client. | public String | getHtmlTitle() Get the title to use for the HTML page. | public String | getRelm() Get the relm that was passed in to the constructor.
This is used as part of the prompt to the user by the browser.
The relm string. |
PageUnauthorizedException | public PageUnauthorizedException(String requestedRelm)(Code) | | Create a new unauthorized exception.
Parameters: relm - The relm to ask for. This string is used by the browserin the prompt for username and password. It should identify to the user which system they are logging in to, i.e. which username and password to use. For example, if relm is XXX, then NetscapeNavigator will prompt the user with "Enter the username forXXX at :". |
PageUnauthorizedException | public PageUnauthorizedException(String requestedRelm, String htmlDisplayText)(Code) | | Create a new unauthorized exception.
Parameters: relm - The relm to ask for. This string is used by the browserin the prompt for username and password. It should identify to the user which system they are logging in to, i.e. which username and password to use. For example, if relm is XXX, then NetscapeNavigator will prompt the user with "Enter the username forXXX at :". Parameters: htmlDisplayText - Text to display on the page. If null,a default will be used. |
getHtmlText | public String getHtmlText()(Code) | | Get the text to display in the client.
The HTML text. |
getHtmlTitle | public String getHtmlTitle()(Code) | | Get the title to use for the HTML page.
The title string. |
getRelm | public String getRelm()(Code) | | Get the relm that was passed in to the constructor.
This is used as part of the prompt to the user by the browser.
The relm string. |
|
|