Interface SAFCredential
public interface SAFCredential
Java representation for a native SAF credential (i.e an ACEE).
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionRetrieve the audit string used when authenticating this SAFCredential.Retrive the certificate used when authenticating this SAFCredential.Return the distributed user id associated with this SAFCredential.Retrieve the MVS user id this SAFCredential was mapped to.getRealm()Retrieve the realm associated with this SAFCredential.getType()Retrieve the credential type.Return the user id associated with this SAFCredential.booleanReturns whether or not the SAFCredential has been authenticated.
-
Method Details
-
getUserId
String getUserId()Return the user id associated with this SAFCredential. If the distributed user id was mapped, the mapped user id is returned.- Returns:
- The user id.
-
getAuditString
String getAuditString()Retrieve the audit string used when authenticating this SAFCredential.- Returns:
- The audit string.
-
getCertificate
X509Certificate getCertificate()Retrive the certificate used when authenticating this SAFCredential.- Returns:
- The certificate.
-
getType
SAFCredential.Type getType()Retrieve the credential type.- Returns:
- The credential type.
-
isAuthenticated
boolean isAuthenticated()Returns whether or not the SAFCredential has been authenticated.- Returns:
- true if the SAFCredential has been authenticated; false otherwise.
-
getMvsUserId
String getMvsUserId()Retrieve the MVS user id this SAFCredential was mapped to. If the user id was not mapped, the unmapped user id is returned.- Returns:
- The user name.
-
getDistributedUserId
String getDistributedUserId()Return the distributed user id associated with this SAFCredential.- Returns:
- The distributed user id.
-
getRealm
String getRealm()Retrieve the realm associated with this SAFCredential.- Returns:
- The realm.
-