|| At A Glance | About This Document | Class Description | Summaries | Properties | Methods | Events | See Also ||
Class Name: | AuthenticatorBean |
Extends: | Component |
Implements: | HttpAuthenticator, Externalizable |
Purpose
Creation
Overview
This is about as simple as a bean interface can get. Although is has a few properties, most are read-only and none are bound or constrained. Therefore, the component fires no events.
String | userName | - the current user | (rw) | |
String | password | - password for authorizing a connection | (w) | |
int | requestingPort | - the port used by the requestor | (ro) | |
String | requestingScheme | - the scheme being requested | (ro) | |
InetAddress | requestingSite | - the internet address of the requesting site | (ro) | |
URL | requestingURL | - the URL of the requestor | (ro) | |
Certificate | userCertificate | - SSL: Not yet implemented | (rw) | |
Certificate[] | siteCertificate | - SSL: Not yet implemented | (ro) | |
String | requestingPurpose | - SSL: Not yet implemented | (ro) | |
boolean | trusted | - SSL: Not yet implemented | (ro) |
instantiation | AuthenticatorBean() |
accessing properites | getUsername()
setUsername() setPassword() getRequestingSite() getRequestingPort() getRequestingPrompt() getRequestingScheme() getRequestingURL() |
SSL (not yet implemented) | getUserCertificate()
setUserCertificate() getSiteCertificate() getRequestingPurpose() authorize() isTrusted() |
boolean authorize(Frame frame, boolean lastFailed)
lastFailed
is true if the last attempt to authorize
failed. The frame
parameter can be used to present a dialog to the
user.
InetAddress getRequestingSite()
Certificate[] getSiteCertificate()
Certificate getUserCertificate()
setUserCertificate().
setUsername().
boolean isTrusted(Frame frame)
void setUserCertificate(Certificate)
getUserCertificate().
void setUsername(String username)
getUsername().
|| At A Glance | About This Document | Class Description | Summaries | Properties | Methods | Events | See Also ||