public class SecurityService extends java.lang.Object implements SecurityService
Modifier and Type | Method and Description |
---|---|
com.tibco.n2.de.api.security.AuthenticateUserResponseDocument.AuthenticateUserResponse |
authenticateUser(byte[] password,
java.lang.String login)
Authenticates a user with the given login name and password, returning a
GUID with which subsequent references can be made.
|
com.tibco.n2.de.api.security.GetUserPrivilegesResponseDocument.GetUserPrivilegesResponse |
getUserPrivileges(java.lang.String userGuid)
Returns the privilege assignments for the Resource identified by the given
GUID.
|
com.tibco.n2.de.api.security.IsActionAuthorisedResponseDocument.IsActionAuthorisedResponse |
isActionAuthorised(com.tibco.n2.common.organisation.api.XmlModelEntityId scope,
com.tibco.n2.common.organisation.api.XmlModelEntityId performer,
com.tibco.n2.de.api.security.XmlSystemAction[] action,
boolean faultOnUnauthorised)
Tests whether the caller (determined by the SOAP security header) is
authorised to perform the named System Action in the context of the
targeted Organisational Entity.
|
com.tibco.n2.de.api.security.IsActionAuthorisedResponseDocument.IsActionAuthorisedResponse |
isActionAuthorised(com.tibco.n2.common.organisation.api.XmlModelEntityId scope,
com.tibco.n2.de.api.security.XmlSystemAction[] action,
boolean faultOnUnauthorised)
Tests whether the caller (determined by the SOAP security header) is
authorised to perform the named System Action in the context of the
targeted Organisational Entity.
|
com.tibco.n2.de.api.security.ListActionAuthorisedEntitiesResponseDocument.ListActionAuthorisedEntitiesResponse |
listActionAuthorisedEntities(java.lang.String component,
java.lang.String name)
Returns a list of Entities which the caller (determined by the SOAP security header) is
authorised to perform the named System Action on.
|
com.tibco.n2.de.api.security.ListAuthorisedOrgsResponseDocument.ListAuthorisedOrgsResponse |
listAuthorisedOrgs(java.lang.String component,
java.lang.String name)
Returns a list of Organisation GUIDs which the caller (determined by the SOAP security header) is
authorised to perform the named System Action on.
|
public com.tibco.n2.de.api.security.AuthenticateUserResponseDocument.AuthenticateUserResponse authenticateUser(byte[] password, java.lang.String login) throws com.tibco.n2.de.services.InternalServiceFault, com.tibco.n2.de.services.InvalidServiceRequestFault
SecurityService
authenticateUser
in interface SecurityService
password
- A byte
array containing base64 encoded password.login
- Login name.AuthenticateUserResponse
which contains the guid if successful.com.tibco.n2.de.services.InternalServiceFault
com.tibco.n2.de.services.InvalidServiceRequestFault
public com.tibco.n2.de.api.security.GetUserPrivilegesResponseDocument.GetUserPrivilegesResponse getUserPrivileges(java.lang.String userGuid) throws com.tibco.n2.de.services.InvalidEntityReferenceFault, com.tibco.n2.de.services.InvalidServiceRequestFault, com.tibco.n2.de.services.InternalServiceFault
SecurityService
getUserPrivileges
in interface SecurityService
userGuid
- The user Guid.UserPrivileges
object which contains a list of user privileges.com.tibco.n2.de.services.InvalidEntityReferenceFault
com.tibco.n2.de.services.InvalidServiceRequestFault
com.tibco.n2.de.services.InternalServiceFault
public com.tibco.n2.de.api.security.IsActionAuthorisedResponseDocument.IsActionAuthorisedResponse isActionAuthorised(com.tibco.n2.common.organisation.api.XmlModelEntityId scope, com.tibco.n2.common.organisation.api.XmlModelEntityId performer, com.tibco.n2.de.api.security.XmlSystemAction[] action, boolean faultOnUnauthorised) throws com.tibco.n2.de.services.SecurityFault, com.tibco.n2.de.services.InvalidEntityReferenceFault, com.tibco.n2.de.services.InvalidServiceRequestFault, com.tibco.n2.de.services.InternalServiceFault
SecurityService
isActionAuthorised
in interface SecurityService
com.tibco.n2.de.services.SecurityFault
com.tibco.n2.de.services.InvalidEntityReferenceFault
com.tibco.n2.de.services.InvalidServiceRequestFault
com.tibco.n2.de.services.InternalServiceFault
public com.tibco.n2.de.api.security.IsActionAuthorisedResponseDocument.IsActionAuthorisedResponse isActionAuthorised(com.tibco.n2.common.organisation.api.XmlModelEntityId scope, com.tibco.n2.de.api.security.XmlSystemAction[] action, boolean faultOnUnauthorised) throws com.tibco.n2.de.services.SecurityFault, com.tibco.n2.de.services.InvalidEntityReferenceFault, com.tibco.n2.de.services.InvalidServiceRequestFault, com.tibco.n2.de.services.InternalServiceFault
SecurityService
isActionAuthorised
in interface SecurityService
com.tibco.n2.de.services.SecurityFault
com.tibco.n2.de.services.InvalidEntityReferenceFault
com.tibco.n2.de.services.InvalidServiceRequestFault
com.tibco.n2.de.services.InternalServiceFault
public com.tibco.n2.de.api.security.ListActionAuthorisedEntitiesResponseDocument.ListActionAuthorisedEntitiesResponse listActionAuthorisedEntities(java.lang.String component, java.lang.String name) throws com.tibco.n2.de.services.SecurityFault, com.tibco.n2.de.services.InvalidServiceRequestFault, com.tibco.n2.de.services.InternalServiceFault
SecurityService
listActionAuthorisedEntities
in interface SecurityService
com.tibco.n2.de.services.SecurityFault
com.tibco.n2.de.services.InvalidServiceRequestFault
com.tibco.n2.de.services.InternalServiceFault
public com.tibco.n2.de.api.security.ListAuthorisedOrgsResponseDocument.ListAuthorisedOrgsResponse listAuthorisedOrgs(java.lang.String component, java.lang.String name) throws com.tibco.n2.de.services.SecurityFault, com.tibco.n2.de.services.InvalidServiceRequestFault, com.tibco.n2.de.services.InternalServiceFault
SecurityService
listAuthorisedOrgs
in interface SecurityService
com.tibco.n2.de.services.SecurityFault
com.tibco.n2.de.services.InvalidServiceRequestFault
com.tibco.n2.de.services.InternalServiceFault
Copyright © 2017 Cloud Software Group, Inc. All Rights Reserved.