| Modifier and Type | Field and Description |
|---|---|
| private static final Pattern | |
| private static final StringManager |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract String | Returns: The generated authorization header valueThe request URI requestUri, String The server authentication header received authenticateHeader, String The user name userName, String The user password userPassword, String The realm for which the provided user name and password are valid. userRealm)null to
indicate all realms.Generate the authorization header value that will be sent to the server. |
| public abstract String | |
| public Map | Returns: a map of authentication parameter names and valuesThe server authenticate header received authenticateHeader)Utility method to parse the authentication header. |
| protected void | |
| protected void | |
| protected void |
| pattern | back to summary |
|---|---|
| private static final Pattern pattern | |
| sm | back to summary |
|---|---|
| private static final StringManager sm | |
| Authenticator | back to summary |
|---|---|
| public Authenticator() | |
| getAuthorization | back to summary |
|---|---|
| public abstract String getAuthorization(String requestUri, String authenticateHeader, String userName, String userPassword, String userRealm) throws AuthenticationException Generate the authorization header value that will be sent to the server.
| |
| getSchemeName | back to summary |
|---|---|
| public abstract String getSchemeName() Get the authentication method.
| |
| parseAuthenticateHeader | back to summary |
|---|---|
| public Map Utility method to parse the authentication header. | |
| validatePassword | back to summary |
|---|---|
| protected void validatePassword(String password) throws AuthenticationException | |
| validateRealm | back to summary |
|---|---|
| protected void validateRealm(String userRealm, String serverRealm) throws AuthenticationException | |
| validateUsername | back to summary |
|---|---|
| protected void validateUsername(String userName) throws AuthenticationException | |