Package com.symphony.api.id
Interface SymphonyIdentity
-
- All Known Implementing Classes:
P12SymphonyIdentity
,PemSymphonyIdentity
,SingleSymphonyIdentity
public interface SymphonyIdentity
Stores enough details about a Symphony user in order they can log in to REST Apis.- Author:
- Rob Moffat
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description X509Certificate[]
getCertificateChain()
Utility method for inspecting the certificate chain that this user will present when logging in.String
getCommonName()
Common name extracted from the first certificate in the chain, or provided as a string.String
getEmail()
Email of the user.KeyManager[]
getKeyManagers()
Use this method when setting up a Symphony client in order to authenticate using the certificates and private key contained in this object.PrivateKey
getPrivateKey()
PublicKey
getPublicKey()
-
-
-
Method Detail
-
getPrivateKey
PrivateKey getPrivateKey()
-
getEmail
String getEmail()
Email of the user. This is held in configuration, rather than looking it up in Symphony. Bots generally have email addresses, even if they don't read them.
-
getKeyManagers
KeyManager[] getKeyManagers()
Use this method when setting up a Symphony client in order to authenticate using the certificates and private key contained in this object.
-
getCertificateChain
X509Certificate[] getCertificateChain()
Utility method for inspecting the certificate chain that this user will present when logging in. This will be an empty array if the user uses Private Key login.
-
getCommonName
String getCommonName()
Common name extracted from the first certificate in the chain, or provided as a string.
-
-