public interface IVisa
Modifier and Type | Method and Description |
---|---|
ICredential |
generateCredential(IBiBusHeader theBiBusHeader)
Generates credentials for the user.
|
ITrustedCredential |
generateTrustedCredential(IBiBusHeader theBiBusHeader)
Generates trusted credentials for the user.
|
IAccount |
getAccount()
Returns information about the logged on user.
|
IGroup[] |
getGroups()
Returns the groups of which the user is a member.
|
IRole[] |
getRoles()
Returns the roles of which the user is a member.
|
boolean |
isValid()
Verifies whether a visa is still valid.
|
ITrustedCredential generateTrustedCredential(IBiBusHeader theBiBusHeader) throws UserRecoverableException, SystemRecoverableException, UnrecoverableException
theBiBusHeader
- Request containing the information used to generate this
trusted credential for the user.UserRecoverableException
- Indicates that this trusted credential cannot be generated
using the available information. It may be possible to
generate a trusted credential after interacting with the user.SystemRecoverableException
- Indicates that this trusted credential cannot be generated
using the available information. It may be possible to
generate a trusted after interacting with the system.UnrecoverableException
- Indicates that an exception has occurred that interferes with the
normal operation of the namespace.ICredential generateCredential(IBiBusHeader theBiBusHeader) throws UserRecoverableException, SystemRecoverableException, UnrecoverableException
theBiBusHeader
- Request containing the information used to generate the
credential for the caller.UserRecoverableException
- Indicates that this trusted credential cannot be generated
using the available information. It may be possible to
generate a trusted credential after interacting with the user.SystemRecoverableException
- Indicates that this trusted credential cannot be generated
using the available information. It may be possible to
generate a trusted after interacting with the system.UnrecoverableException
- Indicates that an exception has occurred that interferes with the
normal operation of the namespace.boolean isValid()
IAccount getAccount()
IGroup[] getGroups()
IRole[] getRoles()