public class SSOCredentials extends Object implements Serializable
Constructor and Description |
---|
SSOCredentials(String authType,
String username,
String password)
Creates a new SSOCredentials.
|
Modifier and Type | Method and Description |
---|---|
String |
getAuthType()
Gets the authorization method used to authorize the SSO.
|
String |
getPassword()
Gets the password of the user associated with the SSO.
|
String |
getUsername()
Gets the username of the user associated with the SSO.
|
public SSOCredentials(String authType, String username, String password)
authType
- The authorization method used to authorize the SSO (BASIC, CLIENT-CERT, DIGEST, FORM or NONE).username
- The username of the user associated with the SSOpassword
- The password of the user associated with the SSOpublic String getUsername()
public String getAuthType()
public String getPassword()
null
if the authorization type was DIGEST or CLIENT-CERT.Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.