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
SecurityServiceauthenticateUser in interface SecurityServicepassword - A byte array containing base64 encoded password.login - Login name.AuthenticateUserResponse which contains the guid if successful.com.tibco.n2.de.services.InternalServiceFaultcom.tibco.n2.de.services.InvalidServiceRequestFaultpublic 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
SecurityServicegetUserPrivileges in interface SecurityServiceuserGuid - The user Guid.UserPrivileges object which contains a list of user privileges.com.tibco.n2.de.services.InvalidEntityReferenceFaultcom.tibco.n2.de.services.InvalidServiceRequestFaultcom.tibco.n2.de.services.InternalServiceFaultpublic 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
SecurityServiceisActionAuthorised in interface SecurityServicecom.tibco.n2.de.services.SecurityFaultcom.tibco.n2.de.services.InvalidEntityReferenceFaultcom.tibco.n2.de.services.InvalidServiceRequestFaultcom.tibco.n2.de.services.InternalServiceFaultpublic 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
SecurityServiceisActionAuthorised in interface SecurityServicecom.tibco.n2.de.services.SecurityFaultcom.tibco.n2.de.services.InvalidEntityReferenceFaultcom.tibco.n2.de.services.InvalidServiceRequestFaultcom.tibco.n2.de.services.InternalServiceFaultpublic 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
SecurityServicelistActionAuthorisedEntities in interface SecurityServicecom.tibco.n2.de.services.SecurityFaultcom.tibco.n2.de.services.InvalidServiceRequestFaultcom.tibco.n2.de.services.InternalServiceFaultpublic 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
SecurityServicelistAuthorisedOrgs in interface SecurityServicecom.tibco.n2.de.services.SecurityFaultcom.tibco.n2.de.services.InvalidServiceRequestFaultcom.tibco.n2.de.services.InternalServiceFaultCopyright © 2018 TIBCO Software Inc. All Rights Reserved.