public class TucsonAuthorisedAgent extends java.lang.Object implements AuthorisedAgent
Constructor and Description |
---|
TucsonAuthorisedAgent(java.lang.String ac,
java.lang.String uname,
java.lang.String psw)
Builds the authorised agent representation.
|
Modifier and Type | Method and Description |
---|---|
static LogicTuple |
asLogicTuple(AuthorisedAgent agent) |
java.lang.String |
getAgentClass()
Gets the class associated to the authorised agent according to the
installed RBAC structure
|
java.lang.String |
getPassword()
Gets the (encrypted) password used by the authorised agent
|
java.lang.String |
getUsername()
Gets the user name used by the authorised agent
|
public TucsonAuthorisedAgent(java.lang.String ac, java.lang.String uname, java.lang.String psw)
ac
- the agent classuname
- the agent user namepsw
- the agent passwordpublic static LogicTuple asLogicTuple(AuthorisedAgent agent)
public java.lang.String getAgentClass()
AuthorisedAgent
getAgentClass
in interface AuthorisedAgent
public java.lang.String getPassword()
AuthorisedAgent
getPassword
in interface AuthorisedAgent
public java.lang.String getUsername()
AuthorisedAgent
getUsername
in interface AuthorisedAgent