getAccessStatus
public CurrentUser getAccessStatus()
throws NiFiRegistryException,
IOException
Obtains the access status of the current user.
If the UserClient was obtained with proxied entities, then the access status should represent the status
of the last identity in the chain.
If the UserClient was obtained without proxied entities, then it would represent the identity of the certificate
in the keystore used by the client.
If the registry is not in secure mode, the anonymous identity is expected to be returned along with a flag indicating
the user is anonymous.
- Specified by:
getAccessStatus in interface UserClient
- Returns:
- the access status of the current user
- Throws:
NiFiRegistryException - if the proxying user is not a valid proxy or identity claim is otherwise invalid
IOException