Interface SAFCredential
-
public interface SAFCredential
Java representation for a native SAF credential (i.e an ACEE).
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
SAFCredential.Type
SAFCredential types.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getAuditString()
Retrieve the audit string used when authenticating this SAFCredential.java.security.cert.X509Certificate
getCertificate()
Retrive the certificate used when authenticating this SAFCredential.java.lang.String
getDistributedUserId()
Return the distributed user id associated with this SAFCredential.java.lang.String
getMvsUserId()
Retrieve the MVS user id this SAFCredential was mapped to.java.lang.String
getRealm()
Retrieve the realm associated with this SAFCredential.SAFCredential.Type
getType()
Retrieve the credential type.java.lang.String
getUserId()
Return the user id associated with this SAFCredential.boolean
isAuthenticated()
Returns whether or not the SAFCredential has been authenticated.
-
-
-
Method Detail
-
getUserId
java.lang.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
java.lang.String getAuditString()
Retrieve the audit string used when authenticating this SAFCredential.- Returns:
- The audit string.
-
getCertificate
java.security.cert.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
java.lang.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
java.lang.String getDistributedUserId()
Return the distributed user id associated with this SAFCredential.- Returns:
- The distributed user id.
-
getRealm
java.lang.String getRealm()
Retrieve the realm associated with this SAFCredential.- Returns:
- The realm.
-
-