SlideShare a Scribd company logo
ESM Service Layer API Reference
for HP ArcSight ESM 6.8c
Vol. 1: Core-Client Services
November 30, 2014
Legal Notices
Warranty
The only warranties for HP products and services are set forth in the express warranty statements
accompanying such products and services. Nothing herein should be construed as constituting an additional
warranty. HP shall not be liable for technical or editorial errors or omissions contained herein.
The information contained herein is subject to change without notice.
The network information used in the examples in this document (including IP addresses and hostnames) is for
illustration purposes only.
HP ArcSight products are highly flexible and function as you configure them. The accessibility, integrity, and
confidentiality of your data is your responsibility. Implement a comprehensive security strategy and follow
good security practices.
This document is confidential.
Restricted Rights Legend
Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with
FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical
Data for Commercial Items are licensed to the U.S. Government under vendor's standard commercial license.
Copyright Notice
© Copyright 2015 Hewlett-Packard Development Company, L.P.
Follow this link to see a complete statement of copyrights and acknowledgements:
http://www.hpenterprisesecurity.com/copyright
Support
Contact Information
Phone A list of phone numbers is available on the HP ArcSight Technical Support page:
https://softwaresupport.hp.com/documents/10180/14684/esp-support-
contact-list
Support Web Site http://softwaresupport.hp.com
Protect 724 Community https://protect724.hp.com
ESM Service Layer: Core Services 2.0 Page 2
Package
com.arcsight.coma.bridge
ESM Service Layer: Core Services 2.0 Page 3
com.arcsight.coma.bridge
Class AuthenticationException
java.lang.Object
|
+-java.lang.Throwable
|
+-java.lang.Exception
|
+-com.arcsight.coma.bridge.AuthenticationException
public class AuthenticationException
extends Exception
All Implemented Interfaces:
Serializable
Constructor Summary
public AuthenticationException(String message)
public AuthenticationException(String service, String method)
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause,
printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
AuthenticationException
public AuthenticationException(String message)
AuthenticationException
public AuthenticationException(String service,
String method)
ESM Service Layer: Core Services 2.0 Page 4
com.arcsight.coma.bridge
Class AuthorizationException
java.lang.Object
|
+-java.lang.Throwable
|
+-java.lang.Exception
|
+-com.arcsight.coma.bridge.AuthorizationException
public class AuthorizationException
extends Exception
All Implemented Interfaces:
Serializable
Constructor Summary
public AuthorizationException(String message)
public AuthorizationException(String service, String method, boolean
classRequiresAuthentication, boolean methodRequiresAuthentication,
String[] classRequiredRights, String[] methodRequiredRights)
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause,
printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
AuthorizationException
public AuthorizationException(String message)
(continued on next page)
ESM Service Layer: Core Services 2.0 Page 5
AuthorizationException
public AuthorizationException(String service,
String method,
boolean classRequiresAuthentication,
boolean methodRequiresAuthentication,
String[] classRequiredRights,
String[] methodRequiredRights)
ESM Service Layer: Core Services 2.0 Page 6
Package
com.arcsight.coma.client.gwt
ESM Service Layer: Core Services 2.0 Page 7
com.arcsight.coma.client.gwt
Class RemoteServiceException
java.lang.Object
|
+-java.lang.Throwable
|
+-java.lang.Exception
|
+-com.arcsight.coma.client.gwt.RemoteServiceException
public class RemoteServiceException
extends Exception
implements Serializable, Serializable
All Implemented Interfaces:
Serializable, Serializable
Field Summary
public static final ERROR_UNKNOWN
Value: -54188
Constructor Summary
public RemoteServiceException()
public RemoteServiceException(String message, Throwable cause)
public RemoteServiceException(String message)
public RemoteServiceException(Throwable cause)
Method Summary
int getErrorCode()
String getRemoteStacktrace()
void setErrorCode(int errorCode)
void setRemoteStacktrace(String remoteStacktrace)
Methods inherited from class java.lang.Throwable
ESM Service Layer: Core Services 2.0 Page 8
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause,
printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Fields
ERROR_UNKNOWN
public static final int ERROR_UNKNOWN
Constant value: -54188
Constructors
RemoteServiceException
public RemoteServiceException()
RemoteServiceException
public RemoteServiceException(String message,
Throwable cause)
RemoteServiceException
public RemoteServiceException(String message)
RemoteServiceException
public RemoteServiceException(Throwable cause)
Methods
getRemoteStacktrace
public String getRemoteStacktrace()
ESM Service Layer: Core Services 2.0 Page 9
setRemoteStacktrace
public void setRemoteStacktrace(String remoteStacktrace)
getErrorCode
public int getErrorCode()
setErrorCode
public void setErrorCode(int errorCode)
ESM Service Layer: Core Services 2.0 Page 10
Package
com.arcsight.product.core.service.v1.axis2.
jaxws
ESM Service Layer: Core Services 2.0 Page 11
com.arcsight.product.core.service.v1.axis2.jaxws
Class AuthenticationExceptionBean
java.lang.Object
|
+-com.arcsight.product.core.service.v1.axis2.jaxws.AuthenticationExceptionBean
public class AuthenticationExceptionBean
extends Object
This class was generated by the JAX-WS RI. JAX-WS RI 2.1.5-b03- Generated source version: 2.1.5
Constructor Summary
public AuthenticationExceptionBean()
Method Summary
String getMessage()
void setMessage(String message)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
AuthenticationExceptionBean
public AuthenticationExceptionBean()
Methods
getMessage
public String getMessage()
Returns:
returns String
ESM Service Layer: Core Services 2.0 Page 12
setMessage
public void setMessage(String message)
Parameters:
message - the value for the message property
ESM Service Layer: Core Services 2.0 Page 13
com.arcsight.product.core.service.v1.axis2.jaxws
Class AuthorizationExceptionBean
java.lang.Object
|
+-com.arcsight.product.core.service.v1.axis2.jaxws.AuthorizationExceptionBean
public class AuthorizationExceptionBean
extends Object
This class was generated by the JAX-WS RI. JAX-WS RI 2.1.5-b03- Generated source version: 2.1.5
Constructor Summary
public AuthorizationExceptionBean()
Method Summary
String getMessage()
void setMessage(String message)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
AuthorizationExceptionBean
public AuthorizationExceptionBean()
Methods
getMessage
public String getMessage()
Returns:
returns String
ESM Service Layer: Core Services 2.0 Page 14
setMessage
public void setMessage(String message)
Parameters:
message - the value for the message property
ESM Service Layer: Core Services 2.0 Page 15
com.arcsight.product.core.service.v1.axis2.jaxws
Class GetAllRightsByGroupTypeResponse
java.lang.Object
|
+-com.arcsight.product.core.service.v1.axis2.jaxws.GetAllRightsByGroupTypeResponse
public class GetAllRightsByGroupTypeResponse
extends Object
Constructor Summary
public GetAllRightsByGroupTypeResponse()
Method Summary
HashMap getReturn()
void setReturn(HashMap _return)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
GetAllRightsByGroupTypeResponse
public GetAllRightsByGroupTypeResponse()
Methods
getReturn
public HashMap getReturn()
Returns:
returns HashMap>
ESM Service Layer: Core Services 2.0 Page 16
setReturn
public void setReturn(HashMap _return)
Parameters:
_return - the value for the _return property
ESM Service Layer: Core Services 2.0 Page 17
com.arcsight.product.core.service.v1.axis2.jaxws
Class LoginServiceAuthenticate
java.lang.Object
|
+-com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceAuthenticate
public class LoginServiceAuthenticate
extends Object
Constructor Summary
public LoginServiceAuthenticate()
Method Summary
AuthContext getAuthContext()
String getAuthToken()
PasswordCredential getCred()
void setAuthContext(AuthContext authContext)
void setAuthToken(String authToken)
void setCred(PasswordCredential cred)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
LoginServiceAuthenticate
public LoginServiceAuthenticate()
Methods
ESM Service Layer: Core Services 2.0 Page 18
getAuthToken
public String getAuthToken()
Returns:
returns String
setAuthToken
public void setAuthToken(String authToken)
Parameters:
authToken - the value for the authToken property
getCred
public PasswordCredential getCred()
Returns:
returns PasswordCredential
setCred
public void setCred(PasswordCredential cred)
Parameters:
cred - the value for the cred property
getAuthContext
public AuthContext getAuthContext()
Returns:
returns AuthContext
setAuthContext
public void setAuthContext(AuthContext authContext)
Parameters:
authContext - the value for the authContext property
ESM Service Layer: Core Services 2.0 Page 19
com.arcsight.product.core.service.v1.axis2.jaxws
Class LoginServiceAuthenticateResponse
java.lang.Object
|
+-com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceAuthenticateResponse
public class LoginServiceAuthenticateResponse
extends Object
Constructor Summary
public LoginServiceAuthenticateResponse()
Method Summary
AuthResponse getReturn()
void setReturn(AuthResponse _return)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
LoginServiceAuthenticateResponse
public LoginServiceAuthenticateResponse()
Methods
getReturn
public AuthResponse getReturn()
Returns:
returns AuthResponse
ESM Service Layer: Core Services 2.0 Page 20
setReturn
public void setReturn(AuthResponse _return)
Parameters:
_return - the value for the _return property
ESM Service Layer: Core Services 2.0 Page 21
com.arcsight.product.core.service.v1.axis2.jaxws
Class LoginServiceGetAuthenticationMethod
java.lang.Object
|
+-com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceGetAuthenticationMethod
public class LoginServiceGetAuthenticationMethod
extends Object
Constructor Summary
public LoginServiceGetAuthenticationMethod()
Method Summary
String getAuthToken()
void setAuthToken(String authToken)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
LoginServiceGetAuthenticationMethod
public LoginServiceGetAuthenticationMethod()
Methods
getAuthToken
public String getAuthToken()
Returns:
returns String
ESM Service Layer: Core Services 2.0 Page 22
setAuthToken
public void setAuthToken(String authToken)
Parameters:
authToken - the value for the authToken property
ESM Service Layer: Core Services 2.0 Page 23
com.arcsight.product.core.service.v1.axis2.jaxws
Class LoginServiceGetAuthenticationMethodResponse
java.lang.Object
|
+-
com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceGetAuthenticationMethodRespon
se
public class LoginServiceGetAuthenticationMethodResponse
extends Object
Constructor Summary
public LoginServiceGetAuthenticationMethodResponse()
Method Summary
AuthMethod getReturn()
void setReturn(AuthMethod _return)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
LoginServiceGetAuthenticationMethodResponse
public LoginServiceGetAuthenticationMethodResponse()
Methods
getReturn
public AuthMethod getReturn()
Returns:
returns AuthMethod
ESM Service Layer: Core Services 2.0 Page 24
setReturn
public void setReturn(AuthMethod _return)
Parameters:
_return - the value for the _return property
ESM Service Layer: Core Services 2.0 Page 25
com.arcsight.product.core.service.v1.axis2.jaxws
Class LoginServiceGetCurrentUser
java.lang.Object
|
+-com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceGetCurrentUser
public class LoginServiceGetCurrentUser
extends Object
Constructor Summary
public LoginServiceGetCurrentUser()
Method Summary
String getAuthToken()
void setAuthToken(String authToken)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
LoginServiceGetCurrentUser
public LoginServiceGetCurrentUser()
Methods
getAuthToken
public String getAuthToken()
Returns:
returns String
ESM Service Layer: Core Services 2.0 Page 26
setAuthToken
public void setAuthToken(String authToken)
Parameters:
authToken - the value for the authToken property
ESM Service Layer: Core Services 2.0 Page 27
com.arcsight.product.core.service.v1.axis2.jaxws
Class LoginServiceGetCurrentUserResponse
java.lang.Object
|
+-com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceGetCurrentUserResponse
public class LoginServiceGetCurrentUserResponse
extends Object
Constructor Summary
public LoginServiceGetCurrentUserResponse()
Method Summary
User getReturn()
void setReturn(User _return)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
LoginServiceGetCurrentUserResponse
public LoginServiceGetCurrentUserResponse()
Methods
getReturn
public User getReturn()
Returns:
returns User
ESM Service Layer: Core Services 2.0 Page 28
setReturn
public void setReturn(User _return)
Parameters:
_return - the value for the _return property
ESM Service Layer: Core Services 2.0 Page 29
com.arcsight.product.core.service.v1.axis2.jaxws
Class LoginServiceGetServiceMajorVersion
java.lang.Object
|
+-com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceGetServiceMajorVersion
public class LoginServiceGetServiceMajorVersion
extends Object
Constructor Summary
public LoginServiceGetServiceMajorVersion()
Method Summary
String getAuthToken()
void setAuthToken(String authToken)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
LoginServiceGetServiceMajorVersion
public LoginServiceGetServiceMajorVersion()
Methods
getAuthToken
public String getAuthToken()
Returns:
returns String
ESM Service Layer: Core Services 2.0 Page 30
setAuthToken
public void setAuthToken(String authToken)
Parameters:
authToken - the value for the authToken property
ESM Service Layer: Core Services 2.0 Page 31
com.arcsight.product.core.service.v1.axis2.jaxws
Class LoginServiceGetServiceMajorVersionResponse
java.lang.Object
|
+-
com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceGetServiceMajorVersionRespons
e
public class LoginServiceGetServiceMajorVersionResponse
extends Object
Constructor Summary
public LoginServiceGetServiceMajorVersionResponse()
Method Summary
int getReturn()
void setReturn(int _return)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
LoginServiceGetServiceMajorVersionResponse
public LoginServiceGetServiceMajorVersionResponse()
Methods
getReturn
public int getReturn()
Returns:
returns int
ESM Service Layer: Core Services 2.0 Page 32
setReturn
public void setReturn(int _return)
Parameters:
_return - the value for the _return property
ESM Service Layer: Core Services 2.0 Page 33
com.arcsight.product.core.service.v1.axis2.jaxws
Class LoginServiceGetServiceMinorVersion
java.lang.Object
|
+-com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceGetServiceMinorVersion
public class LoginServiceGetServiceMinorVersion
extends Object
Constructor Summary
public LoginServiceGetServiceMinorVersion()
Method Summary
String getAuthToken()
void setAuthToken(String authToken)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
LoginServiceGetServiceMinorVersion
public LoginServiceGetServiceMinorVersion()
Methods
getAuthToken
public String getAuthToken()
Returns:
returns String
ESM Service Layer: Core Services 2.0 Page 34
setAuthToken
public void setAuthToken(String authToken)
Parameters:
authToken - the value for the authToken property
ESM Service Layer: Core Services 2.0 Page 35
com.arcsight.product.core.service.v1.axis2.jaxws
Class LoginServiceGetServiceMinorVersionResponse
java.lang.Object
|
+-
com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceGetServiceMinorVersionRespons
e
public class LoginServiceGetServiceMinorVersionResponse
extends Object
Constructor Summary
public LoginServiceGetServiceMinorVersionResponse()
Method Summary
int getReturn()
void setReturn(int _return)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
LoginServiceGetServiceMinorVersionResponse
public LoginServiceGetServiceMinorVersionResponse()
Methods
getReturn
public int getReturn()
Returns:
returns int
ESM Service Layer: Core Services 2.0 Page 36
setReturn
public void setReturn(int _return)
Parameters:
_return - the value for the _return property
ESM Service Layer: Core Services 2.0 Page 37
com.arcsight.product.core.service.v1.axis2.jaxws
Class LoginServiceGetSession
java.lang.Object
|
+-com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceGetSession
public class LoginServiceGetSession
extends Object
Constructor Summary
public LoginServiceGetSession()
Method Summary
String getAuthToken()
void setAuthToken(String authToken)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
LoginServiceGetSession
public LoginServiceGetSession()
Methods
getAuthToken
public String getAuthToken()
Returns:
returns String
ESM Service Layer: Core Services 2.0 Page 38
setAuthToken
public void setAuthToken(String authToken)
Parameters:
authToken - the value for the authToken property
ESM Service Layer: Core Services 2.0 Page 39
com.arcsight.product.core.service.v1.axis2.jaxws
Class LoginServiceGetSessionResponse
java.lang.Object
|
+-com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceGetSessionResponse
public class LoginServiceGetSessionResponse
extends Object
Constructor Summary
public LoginServiceGetSessionResponse()
Method Summary
Session getReturn()
void setReturn(Session _return)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
LoginServiceGetSessionResponse
public LoginServiceGetSessionResponse()
Methods
getReturn
public Session getReturn()
Returns:
returns Session
ESM Service Layer: Core Services 2.0 Page 40
setReturn
public void setReturn(Session _return)
Parameters:
_return - the value for the _return property
ESM Service Layer: Core Services 2.0 Page 41
com.arcsight.product.core.service.v1.axis2.jaxws
Class LoginServiceIsCASAuth
java.lang.Object
|
+-com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceIsCASAuth
public class LoginServiceIsCASAuth
extends Object
Constructor Summary
public LoginServiceIsCASAuth()
Method Summary
String getAuthToken()
void setAuthToken(String authToken)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
LoginServiceIsCASAuth
public LoginServiceIsCASAuth()
Methods
getAuthToken
public String getAuthToken()
Returns:
returns String
ESM Service Layer: Core Services 2.0 Page 42
setAuthToken
public void setAuthToken(String authToken)
Parameters:
authToken - the value for the authToken property
ESM Service Layer: Core Services 2.0 Page 43
com.arcsight.product.core.service.v1.axis2.jaxws
Class LoginServiceIsCASAuthResponse
java.lang.Object
|
+-com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceIsCASAuthResponse
public class LoginServiceIsCASAuthResponse
extends Object
Constructor Summary
public LoginServiceIsCASAuthResponse()
Method Summary
boolean isReturn()
void setReturn(boolean _return)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
LoginServiceIsCASAuthResponse
public LoginServiceIsCASAuthResponse()
Methods
isReturn
public boolean isReturn()
Returns:
returns boolean
ESM Service Layer: Core Services 2.0 Page 44
setReturn
public void setReturn(boolean _return)
Parameters:
_return - the value for the _return property
ESM Service Layer: Core Services 2.0 Page 45
com.arcsight.product.core.service.v1.axis2.jaxws
Class LoginServiceLogin
java.lang.Object
|
+-com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceLogin
public class LoginServiceLogin
extends Object
Constructor Summary
public LoginServiceLogin()
Method Summary
String getAuthToken()
String getLogin()
String getPassword()
void setAuthToken(String authToken)
void setLogin(String login)
void setPassword(String password)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
LoginServiceLogin
public LoginServiceLogin()
Methods
ESM Service Layer: Core Services 2.0 Page 46
getAuthToken
public String getAuthToken()
Returns:
returns String
setAuthToken
public void setAuthToken(String authToken)
Parameters:
authToken - the value for the authToken property
getLogin
public String getLogin()
Returns:
returns String
setLogin
public void setLogin(String login)
Parameters:
login - the value for the login property
getPassword
public String getPassword()
Returns:
returns String
setPassword
public void setPassword(String password)
Parameters:
password - the value for the password property
ESM Service Layer: Core Services 2.0 Page 47
com.arcsight.product.core.service.v1.axis2.jaxws
Class LoginServiceLoginForOneTimeUse
java.lang.Object
|
+-com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceLoginForOneTimeUse
public class LoginServiceLoginForOneTimeUse
extends Object
Constructor Summary
public LoginServiceLoginForOneTimeUse()
Method Summary
String getAuthToken()
String getLogin()
String getPassword()
void setAuthToken(String authToken)
void setLogin(String login)
void setPassword(String password)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
LoginServiceLoginForOneTimeUse
public LoginServiceLoginForOneTimeUse()
Methods
ESM Service Layer: Core Services 2.0 Page 48
getAuthToken
public String getAuthToken()
Returns:
returns String
setAuthToken
public void setAuthToken(String authToken)
Parameters:
authToken - the value for the authToken property
getLogin
public String getLogin()
Returns:
returns String
setLogin
public void setLogin(String login)
Parameters:
login - the value for the login property
getPassword
public String getPassword()
Returns:
returns String
setPassword
public void setPassword(String password)
Parameters:
password - the value for the password property
ESM Service Layer: Core Services 2.0 Page 49
com.arcsight.product.core.service.v1.axis2.jaxws
Class LoginServiceLoginForOneTimeUseResponse
java.lang.Object
|
+-
com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceLoginForOneTimeUseResponse
public class LoginServiceLoginForOneTimeUseResponse
extends Object
Constructor Summary
public LoginServiceLoginForOneTimeUseResponse()
Method Summary
String getReturn()
void setReturn(String _return)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
LoginServiceLoginForOneTimeUseResponse
public LoginServiceLoginForOneTimeUseResponse()
Methods
getReturn
public String getReturn()
Returns:
returns String
ESM Service Layer: Core Services 2.0 Page 50
setReturn
public void setReturn(String _return)
Parameters:
_return - the value for the _return property
ESM Service Layer: Core Services 2.0 Page 51
com.arcsight.product.core.service.v1.axis2.jaxws
Class LoginServiceLoginResponse
java.lang.Object
|
+-com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceLoginResponse
public class LoginServiceLoginResponse
extends Object
Constructor Summary
public LoginServiceLoginResponse()
Method Summary
String getReturn()
void setReturn(String _return)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
LoginServiceLoginResponse
public LoginServiceLoginResponse()
Methods
getReturn
public String getReturn()
Returns:
returns String
ESM Service Layer: Core Services 2.0 Page 52
setReturn
public void setReturn(String _return)
Parameters:
_return - the value for the _return property
ESM Service Layer: Core Services 2.0 Page 53
com.arcsight.product.core.service.v1.axis2.jaxws
Class LoginServiceLogout
java.lang.Object
|
+-com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceLogout
public class LoginServiceLogout
extends Object
Constructor Summary
public LoginServiceLogout()
Method Summary
String getAuthToken()
void setAuthToken(String authToken)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
LoginServiceLogout
public LoginServiceLogout()
Methods
getAuthToken
public String getAuthToken()
Returns:
returns String
ESM Service Layer: Core Services 2.0 Page 54
setAuthToken
public void setAuthToken(String authToken)
Parameters:
authToken - the value for the authToken property
ESM Service Layer: Core Services 2.0 Page 55
com.arcsight.product.core.service.v1.axis2.jaxws
Class LoginServiceLogoutResponse
java.lang.Object
|
+-com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceLogoutResponse
public class LoginServiceLogoutResponse
extends Object
Constructor Summary
public LoginServiceLogoutResponse()
Method Summary
Void getReturn()
void setReturn(Void _return)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
LoginServiceLogoutResponse
public LoginServiceLogoutResponse()
Methods
getReturn
public Void getReturn()
Returns:
returns Void
ESM Service Layer: Core Services 2.0 Page 56
setReturn
public void setReturn(Void _return)
Parameters:
_return - the value for the _return property
ESM Service Layer: Core Services 2.0 Page 57
com.arcsight.product.core.service.v1.axis2.jaxws
Class LoginServiceResetPassword
java.lang.Object
|
+-com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceResetPassword
public class LoginServiceResetPassword
extends Object
Constructor Summary
public LoginServiceResetPassword()
Method Summary
String getAuthToken()
String getLogin()
void setAuthToken(String authToken)
void setLogin(String login)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
LoginServiceResetPassword
public LoginServiceResetPassword()
Methods
getAuthToken
public String getAuthToken()
Returns:
ESM Service Layer: Core Services 2.0 Page 58
returns String
setAuthToken
public void setAuthToken(String authToken)
Parameters:
authToken - the value for the authToken property
getLogin
public String getLogin()
Returns:
returns String
setLogin
public void setLogin(String login)
Parameters:
login - the value for the login property
ESM Service Layer: Core Services 2.0 Page 59
com.arcsight.product.core.service.v1.axis2.jaxws
Class LoginServiceResetPasswordResponse
java.lang.Object
|
+-com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceResetPasswordResponse
public class LoginServiceResetPasswordResponse
extends Object
Constructor Summary
public LoginServiceResetPasswordResponse()
Method Summary
Void getReturn()
void setReturn(Void _return)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
LoginServiceResetPasswordResponse
public LoginServiceResetPasswordResponse()
Methods
getReturn
public Void getReturn()
Returns:
returns Void
ESM Service Layer: Core Services 2.0 Page 60
setReturn
public void setReturn(Void _return)
Parameters:
_return - the value for the _return property
ESM Service Layer: Core Services 2.0 Page 61
com.arcsight.product.core.service.v1.axis2.jaxws
Class LoginServiceSendAuthChallengeResponse
java.lang.Object
|
+-
com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceSendAuthChallengeResponse
public class LoginServiceSendAuthChallengeResponse
extends Object
Constructor Summary
public LoginServiceSendAuthChallengeResponse()
Method Summary
String getAuthToken()
int getChallengeId()
String getResp()
void setAuthToken(String authToken)
void setChallengeId(int challengeId)
void setResp(String resp)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
LoginServiceSendAuthChallengeResponse
public LoginServiceSendAuthChallengeResponse()
Methods
ESM Service Layer: Core Services 2.0 Page 62
getAuthToken
public String getAuthToken()
Returns:
returns String
setAuthToken
public void setAuthToken(String authToken)
Parameters:
authToken - the value for the authToken property
getChallengeId
public int getChallengeId()
Returns:
returns int
setChallengeId
public void setChallengeId(int challengeId)
Parameters:
challengeId - the value for the challengeId property
getResp
public String getResp()
Returns:
returns String
setResp
public void setResp(String resp)
Parameters:
resp - the value for the resp property
ESM Service Layer: Core Services 2.0 Page 63
com.arcsight.product.core.service.v1.axis2.jaxws
Class LoginServiceSendAuthChallengeResponseResponse
java.lang.Object
|
+-
com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceSendAuthChallengeResponseResp
onse
public class LoginServiceSendAuthChallengeResponseResponse
extends Object
Constructor Summary
public LoginServiceSendAuthChallengeResponseResponse()
Method Summary
AuthResponse getReturn()
void setReturn(AuthResponse _return)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
LoginServiceSendAuthChallengeResponseResponse
public LoginServiceSendAuthChallengeResponseResponse()
Methods
getReturn
public AuthResponse getReturn()
Returns:
returns AuthResponse
ESM Service Layer: Core Services 2.0 Page 64
setReturn
public void setReturn(AuthResponse _return)
Parameters:
_return - the value for the _return property
ESM Service Layer: Core Services 2.0 Page 65
com.arcsight.product.core.service.v1.axis2.jaxws
Class ModelLoader
java.lang.Object
|
+-com.arcsight.product.core.service.v1.axis2.jaxws.ModelLoader
public final class ModelLoader
extends Object
Constructor Summary
public ModelLoader()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
ModelLoader
public ModelLoader()
ESM Service Layer: Core Services 2.0 Page 66
com.arcsight.product.core.service.v1.axis2.jaxws
Class ObjectFactory
java.lang.Object
|
+-com.arcsight.product.core.service.v1.axis2.jaxws.ObjectFactory
public final class ObjectFactory
extends Object
Constructor Summary
public ObjectFactory()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
ObjectFactory
public ObjectFactory()
ESM Service Layer: Core Services 2.0 Page 67
com.arcsight.product.core.service.v1.axis2.jaxws
Class ServiceExceptionBean
java.lang.Object
|
+-com.arcsight.product.core.service.v1.axis2.jaxws.ServiceExceptionBean
public class ServiceExceptionBean
extends Object
This class was generated by the JAX-WS RI. JAX-WS RI 2.1.5-b03- Generated source version: 2.1.5
Constructor Summary
public ServiceExceptionBean()
Method Summary
int getErrorCode()
String getMessage()
void setErrorCode(int errorCode)
void setMessage(String message)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
ServiceExceptionBean
public ServiceExceptionBean()
Methods
getErrorCode
public int getErrorCode()
ESM Service Layer: Core Services 2.0 Page 68
Returns:
returns int
setErrorCode
public void setErrorCode(int errorCode)
Parameters:
errorCode - the value for the errorCode property
getMessage
public String getMessage()
Returns:
returns String
setMessage
public void setMessage(String message)
Parameters:
message - the value for the message property
ESM Service Layer: Core Services 2.0 Page 69
Package
com.arcsight.product.core.service.v1.mode
l
ESM Service Layer: Core Services 2.0 Page 70
com.arcsight.product.core.service.v1.model
Class AuthContext
java.lang.Object
|
+-com.arcsight.product.core.service.v1.model.AuthContext
public class AuthContext
extends Object
Constructor Summary
public AuthContext()
Constructor
Method Summary
Boolean getFallback()
Tests whether this authContext is fallen back or not.
void setFallback(Boolean fallback)
Sets whether this authContext is fallen back.
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
AuthContext
public AuthContext()
Constructor
Methods
getFallback
public Boolean getFallback()
Tests whether this authContext is fallen back or not.
Returns:
True if this authContext is fallen back.
ESM Service Layer: Core Services 2.0 Page 71
setFallback
public void setFallback(Boolean fallback)
Sets whether this authContext is fallen back.
Parameters:
fallback - If true, this authContext is fallen back.
ESM Service Layer: Core Services 2.0 Page 72
com.arcsight.product.core.service.v1.model
Class AuthMethod
java.lang.Object
|
+-com.arcsight.product.core.service.v1.model.AuthMethod
public class AuthMethod
extends Object
Description of authentication method. Available methods are provided to the user, so that he/she could decide which method to use
to connect to the server.
JSON prototype
Field Summary
public static final BUILTIN
public static final PKI
public static final PKI_AND_LOCAL_PASSWORD
public static final PKI_WITH_PASSWORD_BACKUP
public static final RADIUS
public static final RADIUS_WITH_PASSWORD_BACKUP
Constructor Summary
public AuthMethod()
Constructor
public AuthMethod(boolean localPassword, boolean externalUserId)
Method Summary
boolean isExternalUserId()
Tests whether this authMethod has external user Id.
boolean isLocalPassword()
Tests whether this AuthMethod has local password.
void setExternalUserId(boolean externalUserId)
Sets whether this authMethod has external user Id.
ESM Service Layer: Core Services 2.0 Page 73
void setLocalPassword(boolean localPassword)
Sets whether this AuthMethod has local password.
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Fields
BUILTIN
public static final com.arcsight.product.core.service.v1.model.AuthMethod BUILTIN
PKI
public static final com.arcsight.product.core.service.v1.model.AuthMethod PKI
RADIUS
public static final com.arcsight.product.core.service.v1.model.AuthMethod RADIUS
PKI_AND_LOCAL_PASSWORD
public static final com.arcsight.product.core.service.v1.model.AuthMethod
PKI_AND_LOCAL_PASSWORD
PKI_WITH_PASSWORD_BACKUP
public static final com.arcsight.product.core.service.v1.model.AuthMethod
PKI_WITH_PASSWORD_BACKUP
RADIUS_WITH_PASSWORD_BACKUP
public static final com.arcsight.product.core.service.v1.model.AuthMethod
RADIUS_WITH_PASSWORD_BACKUP
Constructors
ESM Service Layer: Core Services 2.0 Page 74
AuthMethod
public AuthMethod()
Constructor
AuthMethod
public AuthMethod(boolean localPassword,
boolean externalUserId)
Methods
isLocalPassword
public boolean isLocalPassword()
Tests whether this AuthMethod has local password.
Returns:
True if this AuthMethod has local password.
setLocalPassword
public void setLocalPassword(boolean localPassword)
Sets whether this AuthMethod has local password.
Parameters:
localPassword - the localPassword to set
isExternalUserId
public boolean isExternalUserId()
Tests whether this authMethod has external user Id.
Returns:
True if this authMethod has external user Id.
setExternalUserId
public void setExternalUserId(boolean externalUserId)
Sets whether this authMethod has external user Id.
Parameters:
externalUserId - IF true, this authMethod has external user Id.
ESM Service Layer: Core Services 2.0 Page 75
com.arcsight.product.core.service.v1.model
Class AuthResponse
java.lang.Object
|
+-com.arcsight.product.core.service.v1.model.AuthResponse
public class AuthResponse
extends Object
Constructor Summary
public AuthResponse()
Constructor
public AuthResponse(String authToken)
Constructor
Method Summary
String getAuthToken()
Gets the string value of authToken.
User getUser()
Returns the user being authenticated.
boolean isPasswordChangeRequired()
Gets whether or not the user must change their password.
boolean isPasswordExpiring()
Notifies user that password is expiring soon.
void setAuthToken(String authToken)
Sets the string value of authToken.
void setPasswordExpiring(boolean passwordExpiring)
Sets whether password is expiring soon.
void setUser(User user)
Sets the user being authenticated.
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
ESM Service Layer: Core Services 2.0 Page 76
AuthResponse
public AuthResponse()
Constructor
AuthResponse
public AuthResponse(String authToken)
Constructor
Parameters:
authToken - The string value of authToken.
Methods
getAuthToken
public String getAuthToken()
Gets the string value of authToken.
Returns:
The string value of authToken.
setAuthToken
public void setAuthToken(String authToken)
Sets the string value of authToken.
Parameters:
authToken - the string value authToken to set
getUser
public User getUser()
Returns the user being authenticated.
Returns:
User being authenticated.
setUser
public void setUser(User user)
Sets the user being authenticated.
Parameters:
user - The user being authenticated.
ESM Service Layer: Core Services 2.0 Page 77
isPasswordExpiring
public boolean isPasswordExpiring()
Notifies user that password is expiring soon.
Returns:
True if password is expiring soon.
setPasswordExpiring
public void setPasswordExpiring(boolean passwordExpiring)
Sets whether password is expiring soon.
Parameters:
passwordExpiring - If true, password is expiring soon.
isPasswordChangeRequired
public boolean isPasswordChangeRequired()
Gets whether or not the user must change their password.
Returns:
True if the user must change their password.
ESM Service Layer: Core Services 2.0 Page 78
com.arcsight.product.core.service.v1.model
Class Credential
java.lang.Object
|
+-com.arcsight.product.core.service.v1.model.Credential
public class Credential
extends Object
Direct Known Subclasses:
PasswordCredential
Constructor Summary
public Credential()
Method Summary
String getUserName()
void setUserName(String userName)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
Credential
public Credential()
Methods
getUserName
public String getUserName()
Returns:
the userName
ESM Service Layer: Core Services 2.0 Page 79
setUserName
public void setUserName(String userName)
Parameters:
userName - the userName to set
ESM Service Layer: Core Services 2.0 Page 80
com.arcsight.product.core.service.v1.model
Class Group
java.lang.Object
|
+-com.arcsight.product.core.service.v1.model.Group
public class Group
extends Object
Description of a Group of Users.
JSON prototype
Constructor Summary
public Group()
Method Summary
String getDescription()
long getId()
boolean getIsDefault()
String getName()
Long[] getRightIds()
GroupType getType()
Long[] getUserIds()
void setDescription(String description)
void setId(long id)
void setIsDefault(boolean isDefault)
void setName(String name)
void setRightIds(Long[] rightIds)
ESM Service Layer: Core Services 2.0 Page 81
void setType(GroupType type)
void setUserIds(Long[] userIds)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
Group
public Group()
Methods
getId
public long getId()
getRightIds
public Long[] getRightIds()
setRightIds
public void setRightIds(Long[] rightIds)
getUserIds
public Long[] getUserIds()
setUserIds
public void setUserIds(Long[] userIds)
ESM Service Layer: Core Services 2.0 Page 82
setId
public void setId(long id)
getType
public GroupType getType()
setType
public void setType(GroupType type)
getName
public String getName()
setName
public void setName(String name)
getDescription
public String getDescription()
setDescription
public void setDescription(String description)
getIsDefault
public boolean getIsDefault()
setIsDefault
public void setIsDefault(boolean isDefault)
ESM Service Layer: Core Services 2.0 Page 83
com.arcsight.product.core.service.v1.model
Class GroupType
java.lang.Object
|
+-java.lang.Enum
|
+-com.arcsight.product.core.service.v1.model.GroupType
public final class GroupType
extends Enum
Different types of groups that can be created.
All Implemented Interfaces:
Serializable, Comparable
Field Summary
public static final CONAPP_RIGHTS
public static final LOGGER_REPORT
public static final LOGGER_RIGHTS
public static final LOGGER_SEARCH
public static final SYSTEM_ADMIN
Method Summary
String getDbName()
static GroupType valueOf(String name)
static GroupType[] values()
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Comparable
ESM Service Layer: Core Services 2.0 Page 84
compareTo
Fields
SYSTEM_ADMIN
public static final com.arcsight.product.core.service.v1.model.GroupType SYSTEM_ADMIN
LOGGER_RIGHTS
public static final com.arcsight.product.core.service.v1.model.GroupType LOGGER_RIGHTS
LOGGER_REPORT
public static final com.arcsight.product.core.service.v1.model.GroupType LOGGER_REPORT
LOGGER_SEARCH
public static final com.arcsight.product.core.service.v1.model.GroupType LOGGER_SEARCH
CONAPP_RIGHTS
public static final com.arcsight.product.core.service.v1.model.GroupType CONAPP_RIGHTS
Methods
values
public static GroupType[] values()
valueOf
public static GroupType valueOf(String name)
ESM Service Layer: Core Services 2.0 Page 85
getDbName
public String getDbName()
ESM Service Layer: Core Services 2.0 Page 86
com.arcsight.product.core.service.v1.model
Class LoginCookieType
java.lang.Object
|
+-java.lang.Enum
|
+-com.arcsight.product.core.service.v1.model.LoginCookieType
public final class LoginCookieType
extends Enum
All Implemented Interfaces:
Serializable, Comparable
Field Summary
public static final ESM
public static final PLATFORM
Method Summary
static
LoginCookieType
valueOf(String name)
static
LoginCookieType[]
values()
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Comparable
compareTo
Fields
ESM
public static final com.arcsight.product.core.service.v1.model.LoginCookieType ESM
ESM Service Layer: Core Services 2.0 Page 87
PLATFORM
public static final com.arcsight.product.core.service.v1.model.LoginCookieType PLATFORM
Methods
values
public static LoginCookieType[] values()
valueOf
public static LoginCookieType valueOf(String name)
ESM Service Layer: Core Services 2.0 Page 88
com.arcsight.product.core.service.v1.model
Class PasswordComplexityRequirement
java.lang.Object
|
+-java.lang.Enum
|
+-com.arcsight.product.core.service.v1.model.PasswordComplexityRequirement
public final class PasswordComplexityRequirement
extends Enum
Different types of complexity requirements that may be imposed when a user is changing their password.
All Implemented Interfaces:
Serializable, Comparable
Field Summary
public static final MAXIMUM_LENGTH
...
public static final MINIMUM_DIFFERENCE
...
public static final MINIMUM_LENGTH
is the password at least a minimum length ...
public static final MINIMUM_LOWER_CASE
...
public static final MINIMUM_NUMERIC
...
public static final MINIMUM_SPECIAL_CHARACTERS
...
public static final MINIMUM_UPPER_CASE
...
Method Summary
static
PasswordComplexityReq
uirement
valueOf(String name)
static
PasswordComplexityReq
uirement[]
values()
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
ESM Service Layer: Core Services 2.0 Page 89
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Comparable
compareTo
Fields
MINIMUM_LENGTH
public static final
com.arcsight.product.core.service.v1.model.PasswordComplexityRequirement MINIMUM_LENGTH
is the password at least a minimum length ...
MAXIMUM_LENGTH
public static final
com.arcsight.product.core.service.v1.model.PasswordComplexityRequirement MAXIMUM_LENGTH
... at most a maximum length ...
MINIMUM_NUMERIC
public static final
com.arcsight.product.core.service.v1.model.PasswordComplexityRequirement MINIMUM_NUMERIC
... have a minimum number of numeric characters ...
MINIMUM_UPPER_CASE
public static final
com.arcsight.product.core.service.v1.model.PasswordComplexityRequirement
MINIMUM_UPPER_CASE
... have a minimum number of upper-case characters ...
MINIMUM_LOWER_CASE
public static final
com.arcsight.product.core.service.v1.model.PasswordComplexityRequirement
MINIMUM_LOWER_CASE
... have a minimum number of lower-case characters ...
MINIMUM_SPECIAL_CHARACTERS
public static final
com.arcsight.product.core.service.v1.model.PasswordComplexityRequirement
MINIMUM_SPECIAL_CHARACTERS
ESM Service Layer: Core Services 2.0 Page 90
... have a minimum number of special characters ...
MINIMUM_DIFFERENCE
public static final
com.arcsight.product.core.service.v1.model.PasswordComplexityRequirement
MINIMUM_DIFFERENCE
... at least a certain number of characters different from the old password
Methods
values
public static PasswordComplexityRequirement[] values()
valueOf
public static PasswordComplexityRequirement valueOf(String name)
ESM Service Layer: Core Services 2.0 Page 91
com.arcsight.product.core.service.v1.model
Class PasswordCredential
java.lang.Object
|
+-com.arcsight.product.core.service.v1.model.Credential
|
+-com.arcsight.product.core.service.v1.model.PasswordCredential
public class PasswordCredential
extends Credential
Constructor Summary
public PasswordCredential()
Constructor.
public PasswordCredential(String userName, String password)
Constructor.
Method Summary
String getPassword()
Gets the password of the login user.
void setPassword(String password)
Sets the password for the login user.
Methods inherited from class com.arcsight.product.core.service.v1.model.Credential
getUserName, setUserName
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
PasswordCredential
public PasswordCredential()
Constructor.
ESM Service Layer: Core Services 2.0 Page 92
PasswordCredential
public PasswordCredential(String userName,
String password)
Constructor.
Parameters:
userName - The login name of the login user.
password - The password of the login user.
Methods
getPassword
public String getPassword()
Gets the password of the login user.
Returns:
the password
setPassword
public void setPassword(String password)
Sets the password for the login user.
Parameters:
password - The password to set.
ESM Service Layer: Core Services 2.0 Page 93
com.arcsight.product.core.service.v1.model
Class PasswordRequirement
java.lang.Object
|
+-com.arcsight.product.core.service.v1.model.PasswordRequirement
public class PasswordRequirement
extends Object
Requirements for new passwords.
JSON prototype
Constructor Summary
public PasswordRequirement()
Method Summary
PasswordComplexityReq
uirement
getRequirement()
Integer getValue()
void setRequirement(PasswordComplexityRequirement requirement)
void setValue(Integer value)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
PasswordRequirement
public PasswordRequirement()
Methods
getRequirement
public PasswordComplexityRequirement getRequirement()
ESM Service Layer: Core Services 2.0 Page 94
setRequirement
public void setRequirement(PasswordComplexityRequirement requirement)
getValue
public Integer getValue()
setValue
public void setValue(Integer value)
ESM Service Layer: Core Services 2.0 Page 95
com.arcsight.product.core.service.v1.model
Class Right
java.lang.Object
|
+-com.arcsight.product.core.service.v1.model.Right
public class Right
extends Object
DESCRIBE ME
JSON prototype
Constructor Summary
public Right()
Method Summary
String getCategory()
String getDescription()
long getId()
String getModule()
String getName()
String getType()
void setCategory(String category)
void setDescription(String description)
void setId(long id)
void setModule(String module)
void setName(String name)
void setType(String type)
Methods inherited from class java.lang.Object
ESM Service Layer: Core Services 2.0 Page 96
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
Right
public Right()
Methods
getId
public long getId()
setId
public void setId(long id)
getType
public String getType()
setType
public void setType(String type)
getModule
public String getModule()
setModule
public void setModule(String module)
ESM Service Layer: Core Services 2.0 Page 97
getName
public String getName()
setName
public void setName(String name)
getDescription
public String getDescription()
setDescription
public void setDescription(String description)
getCategory
public String getCategory()
setCategory
public void setCategory(String category)
ESM Service Layer: Core Services 2.0 Page 98
com.arcsight.product.core.service.v1.model
Class ScheduledWorkPeriod
java.lang.Object
|
+-com.arcsight.product.core.service.v1.model.ScheduledWorkPeriod
public class ScheduledWorkPeriod
extends Object
Description of scheduled work period.
JSON prototype
Constructor Summary
public ScheduledWorkPeriod()
Method Summary
Workday getDayOfWeek()
Get the dayOfWeek.
Time getEndTime()
Get the endTime.
Long getId()
Get the id.
Time getStartTime()
Get the startTime.
void setDayOfWeek(Workday dayOfWeek)
Set the dayOfWeek.
void setEndTime(Time endTime)
Set the endTime.
void setId(Long id)
Set the id.
void setStartTime(Time startTime)
Set the startTime.
String toString()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ESM Service Layer: Core Services 2.0 Page 99
Constructors
ScheduledWorkPeriod
public ScheduledWorkPeriod()
Methods
getId
public Long getId()
Get the id.
Returns:
the id
setId
public void setId(Long id)
Set the id.
Parameters:
id - the id to set
getDayOfWeek
public Workday getDayOfWeek()
Get the dayOfWeek.
Returns:
the dayOfWeek
setDayOfWeek
public void setDayOfWeek(Workday dayOfWeek)
Set the dayOfWeek.
Parameters:
dayOfWeek - the dayOfWeek to set
getStartTime
public Time getStartTime()
Get the startTime.
ESM Service Layer: Core Services 2.0 Page 100
Returns:
the startTime
setStartTime
public void setStartTime(Time startTime)
Set the startTime.
Parameters:
startTime - the startTime to set
getEndTime
public Time getEndTime()
Get the endTime.
Returns:
the endTime
setEndTime
public void setEndTime(Time endTime)
Set the endTime.
Parameters:
endTime - the endTime to set
toString
public String toString()
ESM Service Layer: Core Services 2.0 Page 101
com.arcsight.product.core.service.v1.model
Class Session
java.lang.Object
|
+-com.arcsight.product.core.service.v1.model.Session
public class Session
extends Object
DESCRIBE ME
JSON prototype
Constructor Summary
public Session()
Method Summary
String getAuthToken()
Gets the string value of authToken.
long getCreationMillis()
Gets the long value of creation time in millisecond of this session.
long getExpirationMillis()
Gets the long value of expiration time in millisecond of this session.
long getUserId()
Gets the ID of the login user in this session.
void setAuthToken(String authToken)
Sets the string value of authToken.
void setCreationMillis(long creationMillis)
Sets the long value of creation time in millisecond of this session.
void setExpirationMillis(long expirationMillis)
Sets the long value of expiration time in millisecond of this session.
void setUserId(long userId)
Sets the ID of the login user in this session.
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ESM Service Layer: Core Services 2.0 Page 102
Constructors
Session
public Session()
Methods
getAuthToken
public String getAuthToken()
Gets the string value of authToken.
Returns:
The string value of authToken.
setAuthToken
public void setAuthToken(String authToken)
Sets the string value of authToken.
Parameters:
authToken - The string value of authToken.
getUserId
public long getUserId()
Gets the ID of the login user in this session.
Returns:
The ID of the login user.
setUserId
public void setUserId(long userId)
Sets the ID of the login user in this session.
Parameters:
userId - The ID of login user.
getCreationMillis
public long getCreationMillis()
Gets the long value of creation time in millisecond of this session.
Returns:
ESM Service Layer: Core Services 2.0 Page 103
The long value of creation time in millisecond of this session.
setCreationMillis
public void setCreationMillis(long creationMillis)
Sets the long value of creation time in millisecond of this session.
Parameters:
creationMillis - The long value of creation time in millisecond of this session.
getExpirationMillis
public long getExpirationMillis()
Gets the long value of expiration time in millisecond of this session.
Returns:
The long value of expiration time in millisecond of this session.
setExpirationMillis
public void setExpirationMillis(long expirationMillis)
Sets the long value of expiration time in millisecond of this session.
Parameters:
expirationMillis - The long value of expiration time in millisecond of this session.
ESM Service Layer: Core Services 2.0 Page 104
com.arcsight.product.core.service.v1.model
Class Time
java.lang.Object
|
+-com.arcsight.product.core.service.v1.model.Time
public class Time
extends Object
DESCRIBE ME
JSON prototype
Constructor Summary
public Time()
Method Summary
int getHour()
Get the hour.
int getMinutes()
Get the minutes.
void setHour(int hour)
Set the hour.
void setMinutes(int minutes)
Set the minutes.
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
Time
public Time()
Methods
ESM Service Layer: Core Services 2.0 Page 105
getHour
public int getHour()
Get the hour.
Returns:
the hour
setHour
public void setHour(int hour)
Set the hour.
Parameters:
hour - the hour to set
getMinutes
public int getMinutes()
Get the minutes.
Returns:
the minutes
setMinutes
public void setMinutes(int minutes)
Set the minutes.
Parameters:
minutes - the minutes to set
ESM Service Layer: Core Services 2.0 Page 106
com.arcsight.product.core.service.v1.model
Class User
java.lang.Object
|
+-com.arcsight.product.core.service.v1.model.User
public class User
extends Object
DESCRIBE ME
JSON prototype
Constructor Summary
public User()
Constructor
Method Summary
String getDepartment()
Gets the department of this user.
String getEmail()
Gets the email of this user.
String getExternalLoginId()
Get the external login Id of this user.
String getFax()
Gets the fax information of this user.
String getFirstName()
Gets the first name of this user.
String[] getGroupIds()
Gets the IDs of the groups which this user is/was in.
Long getId()
Gets the ID of this user.
Boolean getIsActive()
Tests whether this user is active.
boolean getIsDefault()
String getLastName()
Gets the last name of this user.
ESM Service Layer: Core Services 2.0 Page 107
String getLogin()
Gets the login name of this user.
boolean getMustChangePassword()
Tests whether the password is required to change.
String getNotes()
Gets the notes of this user.
String getPagerNumber()
Gets the pager number of this user.
String getPassword()
Gets the password of this user.
String getPhone()
Gets the phone number of this user.
List getScheduledWorkPeriods()
Gets the list of scheduled work periods for this user.
String getTitle()
Gets the title of this user.
boolean isLocked()
Tests whether this user is locked.
void setDepartment(String department)
Sets the department of this user.
void setEmail(String email)
Sets the email of this user.
void setExternalLoginId(String externalLoginId)
Set the external login Id of this user.
void setFax(String fax)
Sets the fax information of this user.
void setFirstName(String firstName)
Sets the first name of this user.
void setGroupIds(String[] groupIds)
Sets the ID of the group which this user is in.
void setId(Long id)
Sets the ID of this user.
void setIsActive(Boolean isActive)
Sets whether this user is active.
void setIsDefault(boolean isDefault)
void setLastName(String lastName)
Sets the last name of this user.
ESM Service Layer: Core Services 2.0 Page 108
void setLocked(boolean locked)
Sets whether this user is locked.
void setLogin(String login)
Sets the login name of this user.
void setMustChangePassword(boolean mustChangePassword)
Sets whether the password is required to change.
void setNotes(String notes)
Sets the notes of this user.
void setPagerNumber(String pagerNumber)
Sets the pager number of this user.
void setPassword(String password)
Sets the password of this user.
void setPhone(String phone)
Sets the phone number of this user.
void setScheduledWorkPeriods(List scheduledWorkPeriods)
Set the list of scheduled work periods.
void setTitle(String title)
Sets the title of this user.
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
User
public User()
Constructor
Methods
getId
public Long getId()
Gets the ID of this user.
Returns:
ID of this user.
ESM Service Layer: Core Services 2.0 Page 109
setId
public void setId(Long id)
Sets the ID of this user.
Parameters:
ID - of this user.
id
getGroupIds
public String[] getGroupIds()
Gets the IDs of the groups which this user is/was in.
Returns:
IDs of the groups which this user is/was in.
setGroupIds
public void setGroupIds(String[] groupIds)
Sets the ID of the group which this user is in.
Parameters:
groupIds - ID of the group which this user is in.
getLogin
public String getLogin()
Gets the login name of this user.
Returns:
The login name of this user.
setLogin
public void setLogin(String login)
Sets the login name of this user.
Parameters:
login - The login name of this user.
getFirstName
public String getFirstName()
Gets the first name of this user.
Returns:
The first name of this user.
ESM Service Layer: Core Services 2.0 Page 110
setFirstName
public void setFirstName(String firstName)
Sets the first name of this user.
Parameters:
firstName - The first name of this user.
getLastName
public String getLastName()
Gets the last name of this user.
Returns:
The last name of this user.
setLastName
public void setLastName(String lastName)
Sets the last name of this user.
Parameters:
lastName - The last name of this user.
getEmail
public String getEmail()
Gets the email of this user.
Returns:
The email of this user.
setEmail
public void setEmail(String email)
Sets the email of this user.
Parameters:
email - The email of this user.
setPassword
public void setPassword(String password)
Sets the password of this user.
Parameters:
password - The password of this user.
ESM Service Layer: Core Services 2.0 Page 111
getIsActive
public Boolean getIsActive()
Tests whether this user is active.
Returns:
True if this user is active.
setIsActive
public void setIsActive(Boolean isActive)
Sets whether this user is active.
Parameters:
isActive - If true, this user is active.
getPhone
public String getPhone()
Gets the phone number of this user.
Returns:
The phone number of this user.
setPhone
public void setPhone(String phone)
Sets the phone number of this user.
Parameters:
phone - The phone number of this user.
getIsDefault
public boolean getIsDefault()
setIsDefault
public void setIsDefault(boolean isDefault)
getPassword
public String getPassword()
Gets the password of this user. NOTE: for API - business layer mapping only; not expected to be used by clients.
ESM Service Layer: Core Services 2.0 Page 112
Returns:
The password of this user.
getExternalLoginId
public String getExternalLoginId()
Get the external login Id of this user.
Returns:
The external login Id of this user.
setExternalLoginId
public void setExternalLoginId(String externalLoginId)
Set the external login Id of this user.
Parameters:
externalLoginId - The external login Id to set for this user.
getMustChangePassword
public boolean getMustChangePassword()
Tests whether the password is required to change.
Returns:
True if the password is required to change.
setMustChangePassword
public void setMustChangePassword(boolean mustChangePassword)
Sets whether the password is required to change.
Parameters:
mustChangePassword - If true, the password is required to change.
getScheduledWorkPeriods
public List getScheduledWorkPeriods()
Gets the list of scheduled work periods for this user.
Returns:
The list of scheduled work periods.
setScheduledWorkPeriods
public void setScheduledWorkPeriods(List scheduledWorkPeriods)
Set the list of scheduled work periods.
ESM Service Layer: Core Services 2.0 Page 113
Parameters:
scheduledWorkPeriods - The list of scheduled work periods to set
getTitle
public String getTitle()
Gets the title of this user.
Returns:
The title of this user.
setTitle
public void setTitle(String title)
Sets the title of this user.
Parameters:
title - The title of this user.
getDepartment
public String getDepartment()
Gets the department of this user.
Returns:
The department of this user.
setDepartment
public void setDepartment(String department)
Sets the department of this user.
Parameters:
department - The department of this user.
getFax
public String getFax()
Gets the fax information of this user.
Returns:
The fax information of this user.
setFax
public void setFax(String fax)
Sets the fax information of this user.
ESM Service Layer: Core Services 2.0 Page 114
Parameters:
fax - The fax information of this user.
getPagerNumber
public String getPagerNumber()
Gets the pager number of this user.
Returns:
The pager number of this user.
setPagerNumber
public void setPagerNumber(String pagerNumber)
Sets the pager number of this user.
Parameters:
pagerNumber - The pager number of this user.
getNotes
public String getNotes()
Gets the notes of this user.
Returns:
The notes of this user.
setNotes
public void setNotes(String notes)
Sets the notes of this user.
Parameters:
notes - The notes of this user.
isLocked
public boolean isLocked()
Tests whether this user is locked.
Returns:
True if this user is locked.
setLocked
public void setLocked(boolean locked)
Sets whether this user is locked.
ESM Service Layer: Core Services 2.0 Page 115
Parameters:
locked - If true, this user is locked.
ESM Service Layer: Core Services 2.0 Page 116
com.arcsight.product.core.service.v1.model
Class Workday
java.lang.Object
|
+-java.lang.Enum
|
+-com.arcsight.product.core.service.v1.model.Workday
public final class Workday
extends Enum
All Implemented Interfaces:
Serializable, Comparable
Field Summary
public static final Friday
public static final Monday
public static final Saturday
public static final Sunday
public static final Thursday
public static final Tuesday
public static final Wednesday
Method Summary
static Workday valueOf(String name)
static Workday[] values()
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Comparable
ESM Service Layer: Core Services 2.0 Page 117
compareTo
Fields
Sunday
public static final com.arcsight.product.core.service.v1.model.Workday Sunday
Monday
public static final com.arcsight.product.core.service.v1.model.Workday Monday
Tuesday
public static final com.arcsight.product.core.service.v1.model.Workday Tuesday
Wednesday
public static final com.arcsight.product.core.service.v1.model.Workday Wednesday
Thursday
public static final com.arcsight.product.core.service.v1.model.Workday Thursday
Friday
public static final com.arcsight.product.core.service.v1.model.Workday Friday
Saturday
public static final com.arcsight.product.core.service.v1.model.Workday Saturday
Methods
ESM Service Layer: Core Services 2.0 Page 118
values
public static Workday[] values()
valueOf
public static Workday valueOf(String name)
ESM Service Layer: Core Services 2.0 Page 119
Package
com.arcsight.product.core.service.v1.mode
l.jaxb
ESM Service Layer: Core Services 2.0 Page 120
com.arcsight.product.core.service.v1.model.jaxb
Class HashMapOfRightListResponse
java.lang.Object
|
+-<any>
|
+-com.arcsight.product.core.service.v1.model.jaxb.HashMapOfRightListResponse
public class HashMapOfRightListResponse
extends <any>
Class to be used with JAXB for return types like HashMap>.
Constructor Summary
public HashMapOfRightListResponse()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
HashMapOfRightListResponse
public HashMapOfRightListResponse()
ESM Service Layer: Core Services 2.0 Page 121
com.arcsight.product.core.service.v1.model.jaxb
Class ObjectFactory
java.lang.Object
|
+-com.arcsight.product.core.service.v1.model.jaxb.ObjectFactory
public final class ObjectFactory
extends Object
Constructor Summary
public ObjectFactory()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
ObjectFactory
public ObjectFactory()
ESM Service Layer: Core Services 2.0 Page 122
Package
com.arcsight.product.core.service.v1.rest
ESM Service Layer: Core Services 2.0 Page 123
com.arcsight.product.core.service.v1.rest
Class LoginServiceImpl
java.lang.Object
|
+-com.arcsight.product.core.service.v1.rest.LoginServiceImpl
public class LoginServiceImpl
extends Object
Implementation of the login service interface.
Constructor Summary
public LoginServiceImpl()
Method Summary
LoginServiceAuthentic
ateResponse
authenticate(LoginServiceAuthenticate value)
Authenticates the user with the given credentials.
LoginServiceGetAuthen
ticationMethodRespons
e
getAuthenticationMethod(HttpHeaders hh)
Gets the method that applications should use to authenticate users.
LoginServiceGetAuthen
ticationMethodRespons
e
getAuthenticationMethodPost(HttpHeaders hh)
Gets the method that applications should use to authenticate users.
LoginServiceGetCurren
tUserResponse
getCurrentUser(LoginServiceGetCurrentUser value)
Returns the login user for the current session.
LoginServiceGetCurren
tUserResponse
getCurrentUser(String authToken, HttpHeaders hh)
Returns the login user for the current session.
LoginServiceGetCurren
tUserResponse
getCurrentUserPost(String authToken, HttpHeaders hh)
Returns the login user for the current session.
LoginServiceGetServic
eMajorVersionResponse
getServiceMajorVersion(LoginServiceGetServiceMajorVersion value)
The major version of this service.
LoginServiceGetServic
eMajorVersionResponse
getServiceMajorVersion(String authToken, HttpHeaders hh)
The major version of this service.
LoginServiceGetServic
eMajorVersionResponse
getServiceMajorVersionPost(String authToken, HttpHeaders hh)
The major version of this service.
LoginServiceGetServic
eMinorVersionResponse
getServiceMinorVersion(LoginServiceGetServiceMinorVersion value)
The minor version of this service.
LoginServiceGetServic
eMinorVersionResponse
getServiceMinorVersion(String authToken, HttpHeaders hh)
The minor version of this service.
ESM Service Layer: Core Services 2.0 Page 124
LoginServiceGetServic
eMinorVersionResponse
getServiceMinorVersionPost(String authToken, HttpHeaders hh)
The minor version of this service.
LoginServiceGetSessio
nResponse
getSession(LoginServiceGetSession value)
Returns the current session.
LoginServiceGetSessio
nResponse
getSession(String authToken, HttpHeaders hh)
Returns the current session.
LoginServiceGetSessio
nResponse
getSessionPost(String authToken, HttpHeaders hh)
Returns the current session.
LoginServiceIsCASAuth
Response
isCASAuth(HttpHeaders hh)
Deprecated. Not implemented
LoginServiceIsCASAuth
Response
isCASAuthPost(HttpHeaders hh)
Deprecated. Not implemented
LoginServiceLoginResp
onse
login(LoginServiceLogin value)
Establishes a session using the specified login and password, and gets the string value of the
auth-token which is valid throughout the life of the session.
LoginServiceLoginResp
onse
login(String login, String password, HttpHeaders hh)
Establishes a session using the specified login and password, and gets the string value of the
auth-token which is valid throughout the life of the session.
LoginServiceLoginForO
neTimeUseResponse
loginForOneTimeUse(LoginServiceLoginForOneTimeUse value)
Establishes a session which can only be used once subsequent to its creation, and gets the
string value of auth-token which is valid throughout the life of the session.
LoginServiceLoginForO
neTimeUseResponse
loginForOneTimeUse(String login, String password, HttpHeaders hh)
Establishes a session which can only be used once subsequent to its creation, and gets the
string value of auth-token which is valid throughout the life of the session.
LoginServiceLoginForO
neTimeUseResponse
loginForOneTimeUsePost(String login, String password, HttpHeaders hh)
Establishes a session which can only be used once subsequent to its creation, and gets the
string value of auth-token which is valid throughout the life of the session.
LoginServiceLoginResp
onse
loginPost(String login, String password, HttpHeaders hh)
Establishes a session using the specified login and password, and gets the string value of the
auth-token which is valid throughout the life of the session.
Void logout(LoginServiceLogout value)
Drops the current session and its bound auth-token.
Void logout(String authToken, HttpHeaders hh)
Drops the current session and its bound auth-token.
Void logoutPost(String authToken, HttpHeaders hh)
Drops the current session and its bound auth-token.
Void resetPassword(LoginServiceResetPassword value)
Resets the password for the user specified by the login userName.
Void resetPassword(String login, HttpHeaders hh)
Resets the password for the user specified by the login userName.
ESM Service Layer: Core Services 2.0 Page 125
Void resetPasswordPost(String login, HttpHeaders hh)
Resets the password for the user specified by the login userName.
LoginServiceSendAuthC
hallengeResponseRespo
nse
sendAuthChallengeResponse(int challengeId, String resp, HttpHeaders hh)
Sends a response for the requested challenge back to JAAS CallbackHandler, which initiates
that challenge.
LoginServiceSendAuthC
hallengeResponseRespo
nse
sendAuthChallengeResponse(LoginServiceSendAuthChallengeResponse value)
Sends a response for the requested challenge back to JAAS CallbackHandler, which initiates
that challenge.
LoginServiceSendAuthC
hallengeResponseRespo
nse
sendAuthChallengeResponsePost(int challengeId, String resp, HttpHeaders
hh)
Sends a response for the requested challenge back to JAAS CallbackHandler, which initiates
that challenge.
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
LoginServiceImpl
public LoginServiceImpl()
Methods
login
public LoginServiceLoginResponse login(String login,
String password,
HttpHeaders hh)
throws ServiceException,
AuthorizationException,
AuthenticationException
Establishes a session using the specified login and password, and gets the string value of the auth-token which is valid
throughout the life of the session.
If the provided information is enough to authenticate the user, the server sends back the authentication token. Otherwise
this method throws an ServiceException. Check the error code of the exception to determine whether authentication failed
or the server requested additional challenge if the error code equals to RuntimeLoginException.LOGIN_CHALLENGE.
The ID of the additional challenge and key for the prompt string could be retrieved from exception's message that is
prepared as String.format("prompt=%s&id=%s", challengePromptKey, Integer.toString(challengeId)).
The client application is responsible for requesting additional information from the user for the challenge ID and sending the
response back via another method sendAuthChallengeResponse.
Parameters:
login - The login user name
password - The password of the login user
hh - HTTP headers from http request
Returns:
ESM Service Layer: Core Services 2.0 Page 126
The string value of auth-token to use for further calls otherwise
Throws:
ServiceException - if authentication failed or the server challenges with additional question
com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation
com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated
com.arcsight.tools.coma.service.ServiceException - For any errors happened during execution of this
operation
See Also:
GET
URL: http://HOST:PORT/www/core-
service/rest/LoginService/login?login=value&password=value
Normal response code: 200
loginPost
public LoginServiceLoginResponse loginPost(String login,
String password,
HttpHeaders hh)
throws ServiceException,
AuthorizationException,
AuthenticationException
Establishes a session using the specified login and password, and gets the string value of the auth-token which is valid
throughout the life of the session.
If the provided information is enough to authenticate the user, the server sends back the authentication token. Otherwise
this method throws an ServiceException. Check the error code of the exception to determine whether authentication failed
or the server requested additional challenge if the error code equals to RuntimeLoginException.LOGIN_CHALLENGE.
The ID of the additional challenge and key for the prompt string could be retrieved from exception's message that is
prepared as String.format("prompt=%s&id=%s", challengePromptKey, Integer.toString(challengeId)).
The client application is responsible for requesting additional information from the user for the challenge ID and sending the
response back via another method sendAuthChallengeResponse.
Parameters:
login - The login user name
password - The password of the login user
hh - HTTP headers from http request
Returns:
The string value of auth-token to use for further calls otherwise
Throws:
ServiceException - if authentication failed or the server challenges with additional question
com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation
com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated
ESM Service Layer: Core Services 2.0 Page 127
See Also:
POST
Consumes({"application/x-www-form-urlencoded"})
URL: http://HOST:PORT/www/core-service/rest/LoginService/login
Normal response code: 200
JSON prototype for request body:
{
"log.login" : {
"log.login" : "value",
"log.password" : "value"
}
}
login
public LoginServiceLoginResponse login(LoginServiceLogin value)
throws ServiceException,
AuthorizationException,
AuthenticationException
Establishes a session using the specified login and password, and gets the string value of the auth-token which is valid
throughout the life of the session.
If the provided information is enough to authenticate the user, the server sends back the authentication token. Otherwise
this method throws an ServiceException. Check the error code of the exception to determine whether authentication failed
or the server requested additional challenge if the error code equals to RuntimeLoginException.LOGIN_CHALLENGE.
The ID of the additional challenge and key for the prompt string could be retrieved from exception's message that is
prepared as String.format("prompt=%s&id=%s", challengePromptKey, Integer.toString(challengeId)).
The client application is responsible for requesting additional information from the user for the challenge ID and sending the
response back via another method sendAuthChallengeResponse.
Parameters:
value - Model object containing request body
Returns:
The string value of auth-token to use for further calls otherwise
ESM Service Layer: Core Services 2.0 Page 128
Throws:
com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation
com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated
com.arcsight.tools.coma.service.ServiceException - For any other errors happened during execution of
this operation
See Also:
POST
Consumes({"application/xml","text/xml","application/json"})
URL: http://HOST:PORT/www/core-service/rest/LoginService/login
Normal response code: 200
JSON prototype for request body:
{
"log.login" : {
"log.login" : "value",
"log.password" : "value"
}
}
where:
login The login user name
password The password of the login user
logout
public Void logout(String authToken,
HttpHeaders hh)
throws ServiceException,
AuthorizationException,
AuthenticationException
Drops the current session and its bound auth-token.
Parameters:
ESM Service Layer: Core Services 2.0 Page 129
authToken - Authentication token created for the current session
hh - HTTP headers from http request
Throws:
com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation
com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated
com.arcsight.tools.coma.service.ServiceException - For any errors happened during execution of this
operation
See Also:
GET
URL: http://HOST:PORT/www/core-service/rest/LoginService/logout?authToken=value
Normal response code: 204
logoutPost
public Void logoutPost(String authToken,
HttpHeaders hh)
throws ServiceException,
AuthorizationException,
AuthenticationException
Drops the current session and its bound auth-token.
Parameters:
authToken - Authentication token created for the current session
hh - HTTP headers from http request
Throws:
com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation
com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated
See Also:
ESM Service Layer: Core Services 2.0 Page 130
POST
Consumes({"application/x-www-form-urlencoded"})
URL: http://HOST:PORT/www/core-service/rest/LoginService/logout
Normal response code: 204
JSON prototype for request body:
{
"log.logout" : {
"log.authToken" : "value"
}
}
logout
public Void logout(LoginServiceLogout value)
throws ServiceException,
AuthorizationException,
AuthenticationException
Drops the current session and its bound auth-token.
Parameters:
value - Model object containing request body
Throws:
com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation
com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated
com.arcsight.tools.coma.service.ServiceException - For any other errors happened during execution of
this operation
See Also:
ESM Service Layer: Core Services 2.0 Page 131
POST
Consumes({"application/xml","text/xml","application/json"})
URL: http://HOST:PORT/www/core-service/rest/LoginService/logout
Normal response code: 204
JSON prototype for request body:
{
"log.logout" : {
"log.authToken" : "value"
}
}
where:
authToken Authentication token created for the current session
getCurrentUser
public LoginServiceGetCurrentUserResponse getCurrentUser(String authToken,
HttpHeaders hh)
throws ServiceException,
AuthorizationException,
AuthenticationException
Returns the login user for the current session.
Parameters:
authToken - Authentication token created for the current session
hh - HTTP headers from http request
Returns:
The login user for the current session.
Throws:
com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation
com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated
ESM Service Layer: Core Services 2.0 Page 132
com.arcsight.tools.coma.service.ServiceException - For any errors happened during execution of this
operation
See Also:
GET
URL: http://HOST:PORT/www/core-
service/rest/LoginService/getCurrentUser?authToken=value
Normal response code: 200
getCurrentUserPost
public LoginServiceGetCurrentUserResponse getCurrentUserPost(String authToken,
HttpHeaders hh)
throws ServiceException,
AuthorizationException,
AuthenticationException
Returns the login user for the current session.
Parameters:
authToken - Authentication token created for the current session
hh - HTTP headers from http request
Returns:
The login user for the current session.
Throws:
com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation
com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated
See Also:
ESM Service Layer: Core Services 2.0 Page 133
POST
Consumes({"application/x-www-form-urlencoded"})
URL: http://HOST:PORT/www/core-service/rest/LoginService/getCurrentUser
Normal response code: 200
JSON prototype for request body:
{
"log.getCurrentUser" : {
"log.authToken" : "value"
}
}
getCurrentUser
public LoginServiceGetCurrentUserResponse getCurrentUser(LoginServiceGetCurrentUser
value)
throws ServiceException,
AuthorizationException,
AuthenticationException
Returns the login user for the current session.
Parameters:
value - Model object containing request body
Returns:
The login user for the current session.
Throws:
com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation
com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated
com.arcsight.tools.coma.service.ServiceException - For any other errors happened during execution of
this operation
See Also:
ESM Service Layer: Core Services 2.0 Page 134
POST
Consumes({"application/xml","text/xml","application/json"})
URL: http://HOST:PORT/www/core-service/rest/LoginService/getCurrentUser
Normal response code: 200
JSON prototype for request body:
{
"log.getCurrentUser" : {
"log.authToken" : "value"
}
}
where:
authToken Authentication token created for the current session
getSession
public LoginServiceGetSessionResponse getSession(String authToken,
HttpHeaders hh)
throws ServiceException,
AuthorizationException,
AuthenticationException
Returns the current session.
Parameters:
authToken - Authentication token created for the current session
hh - HTTP headers from http request
Returns:
The current session.
Throws:
com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation
com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated
ESM Service Layer: Core Services 2.0 Page 135
com.arcsight.tools.coma.service.ServiceException - For any errors happened during execution of this
operation
See Also:
GET
URL: http://HOST:PORT/www/core-service/rest/LoginService/getSession?authToken=value
Normal response code: 200
getSessionPost
public LoginServiceGetSessionResponse getSessionPost(String authToken,
HttpHeaders hh)
throws ServiceException,
AuthorizationException,
AuthenticationException
Returns the current session.
Parameters:
authToken - Authentication token created for the current session
hh - HTTP headers from http request
Returns:
The current session.
Throws:
com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation
com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated
See Also:
ESM Service Layer: Core Services 2.0 Page 136
POST
Consumes({"application/x-www-form-urlencoded"})
URL: http://HOST:PORT/www/core-service/rest/LoginService/getSession
Normal response code: 200
JSON prototype for request body:
{
"log.getSession" : {
"log.authToken" : "value"
}
}
getSession
public LoginServiceGetSessionResponse getSession(LoginServiceGetSession value)
throws ServiceException,
AuthorizationException,
AuthenticationException
Returns the current session.
Parameters:
value - Model object containing request body
Returns:
The current session.
Throws:
com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation
com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated
com.arcsight.tools.coma.service.ServiceException - For any other errors happened during execution of
this operation
See Also:
ESM Service Layer: Core Services 2.0 Page 137
POST
Consumes({"application/xml","text/xml","application/json"})
URL: http://HOST:PORT/www/core-service/rest/LoginService/getSession
Normal response code: 200
JSON prototype for request body:
{
"log.getSession" : {
"log.authToken" : "value"
}
}
where:
authToken Authentication token created for the current session
isCASAuth
public LoginServiceIsCASAuthResponse isCASAuth(HttpHeaders hh)
throws ServiceException,
AuthorizationException,
AuthenticationException
Deprecated. Not implemented
Parameters:
hh - HTTP headers from http request
Throws:
com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation
com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated
com.arcsight.tools.coma.service.ServiceException - For any errors happened during execution of this
operation
ESM Service Layer: Core Services 2.0 Page 138
isCASAuthPost
public LoginServiceIsCASAuthResponse isCASAuthPost(HttpHeaders hh)
throws ServiceException,
AuthorizationException,
AuthenticationException
Deprecated. Not implemented
Parameters:
hh - HTTP headers from http request
Throws:
com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation
com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated
authenticate
public LoginServiceAuthenticateResponse authenticate(LoginServiceAuthenticate value)
throws ServiceException,
AuthorizationException,
AuthenticationException
Authenticates the user with the given credentials. If this is a multi-step authentication, the authContext needs to be passed
to indicate the session.
If the provided information is enough to authenticate the user, the server sends back an instance of AuthResponse
containing the authentication token. Otherwise this method throws an ServiceException. Check the error code of the
exception to determine whether authentication failed or the server requested additional challenge if the error code equals
to RuntimeLoginException.LOGIN_CHALLENGE. The ID of the additional challenge and key for the prompt string could
be retrieved from exception's message that is prepared as String.format("prompt=%s&id=%s",
challengePromptKey, Integer.toString(challengeId)). The client application is responsible for requesting
additional information from the user for the challenge ID and sending the response back via another method
sendAuthChallengeResponse.
Parameters:
value - Model object containing request body
Returns:
The response from the server, used to indicate if it was successful or more steps are required. Also contains the
authToken to be used in further operations
Throws:
com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation
com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated
com.arcsight.tools.coma.service.ServiceException - For any other errors happened during execution of
this operation
See Also:
ESM Service Layer: Core Services 2.0 Page 139
POST
Consumes({"application/xml","text/xml","application/json"})
URL: http://HOST:PORT/www/core-service/rest/LoginService/authenticate
Normal response code: 200
JSON prototype for request body:
{
"log.authenticate" : {
"log.cred" : { "JSON for the nested object" },
"log.authContext" : { "JSON for the nested object" }
}
}
where:
cred Credential to use to authenticate the user. Credential must match the
AuthMethod being used.
authContext The context in which the authentication is taking place. Can be null.
sendAuthChallengeResponse
public LoginServiceSendAuthChallengeResponseResponse sendAuthChallengeResponse(int
challengeId,
String resp,
HttpHeaders hh)
throws ServiceException,
AuthorizationException,
AuthenticationException
Sends a response for the requested challenge back to JAAS CallbackHandler, which initiates that challenge. This method is
to be called on behalf of a client (e.g. ArcSight Console) after the client receives the challenge challengeId and the user
provides the response.
If the provided response is enough to authenticate the user, the server sends back an instance of AuthResponse containing
the authentication token. Otherwise this method throws an ServiceException. Check the error code of the exception to
determine whether the server requested another challenge if the error code equals to
RuntimeLoginException.LOGIN_CHALLENGE or authentication failed. The ID of the additional challenge and key for the
prompt string could be retrieved from exception's message that is prepared as String.format("prompt=%s&id=%s",
challengePromptKey, Integer.toString(challengeId)).
ESM Service Layer: Core Services 2.0 Page 140
Parameters:
challengeId - Identifier of a challenge send by JAAS authenticator
response - User response to the challenge
hh - HTTP headers from http request
Returns:
Authentication response which includes the authentication token
Throws:
ServiceException - if authentication failed or the server challenges with another question
com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation
com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated
com.arcsight.tools.coma.service.ServiceException - For any errors happened during execution of this
operation
See Also:
GET
URL: http://HOST:PORT/www/core-
service/rest/LoginService/sendAuthChallengeResponse?challengeId=value&resp=value
Normal response code: 200
sendAuthChallengeResponsePost
public LoginServiceSendAuthChallengeResponseResponse sendAuthChallengeResponsePost(int
challengeId,
String resp,
HttpHeaders hh)
throws ServiceException,
AuthorizationException,
AuthenticationException
Sends a response for the requested challenge back to JAAS CallbackHandler, which initiates that challenge. This method is
to be called on behalf of a client (e.g. ArcSight Console) after the client receives the challenge challengeId and the user
provides the response.
If the provided response is enough to authenticate the user, the server sends back an instance of AuthResponse containing
the authentication token. Otherwise this method throws an ServiceException. Check the error code of the exception to
determine whether the server requested another challenge if the error code equals to
RuntimeLoginException.LOGIN_CHALLENGE or authentication failed. The ID of the additional challenge and key for the
prompt string could be retrieved from exception's message that is prepared as String.format("prompt=%s&id=%s",
challengePromptKey, Integer.toString(challengeId)).
Parameters:
challengeId - Identifier of a challenge send by JAAS authenticator
response - User response to the challenge
hh - HTTP headers from http request
ESM Service Layer: Core Services 2.0 Page 141
Returns:
Authentication response which includes the authentication token
Throws:
ServiceException - if authentication failed or the server challenges with another question
com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation
com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated
See Also:
POST
Consumes({"application/x-www-form-urlencoded"})
URL: http://HOST:PORT/www/core-service/rest/LoginService/sendAuthChallengeResponse
Normal response code: 200
JSON prototype for request body:
{
"log.sendAuthChallengeResponse" : {
"log.challengeId" : "value",
"log.resp" : "value"
}
}
sendAuthChallengeResponse
public LoginServiceSendAuthChallengeResponseResponse
sendAuthChallengeResponse(LoginServiceSendAuthChallengeResponse value)
throws ServiceException,
AuthorizationException,
AuthenticationException
ESM Service Layer: Core Services 2.0 Page 142
Sends a response for the requested challenge back to JAAS CallbackHandler, which initiates that challenge. This method is
to be called on behalf of a client (e.g. ArcSight Console) after the client receives the challenge challengeId and the user
provides the response.
If the provided response is enough to authenticate the user, the server sends back an instance of AuthResponse containing
the authentication token. Otherwise this method throws an ServiceException. Check the error code of the exception to
determine whether the server requested another challenge if the error code equals to
RuntimeLoginException.LOGIN_CHALLENGE or authentication failed. The ID of the additional challenge and key for the
prompt string could be retrieved from exception's message that is prepared as String.format("prompt=%s&id=%s",
challengePromptKey, Integer.toString(challengeId)).
Parameters:
value - Model object containing request body
Returns:
Authentication response which includes the authentication token
Throws:
com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation
com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated
com.arcsight.tools.coma.service.ServiceException - For any other errors happened during execution of
this operation
See Also:
ESM Service Layer: Core Services 2.0 Page 143
POST
Consumes({"application/xml","text/xml","application/json"})
URL: http://HOST:PORT/www/core-service/rest/LoginService/sendAuthChallengeResponse
Normal response code: 200
JSON prototype for request body:
{
"log.sendAuthChallengeResponse" : {
"log.challengeId" : "value",
"log.resp" : "value"
}
}
where:
challengeId Identifier of a challenge send by JAAS authenticator
response User response to the challenge
getAuthenticationMethod
public LoginServiceGetAuthenticationMethodResponse getAuthenticationMethod(HttpHeaders
hh)
throws ServiceException,
AuthorizationException,
AuthenticationException
Gets the method that applications should use to authenticate users.
Parameters:
hh - HTTP headers from http request
Returns:
The Auth
Throws:
com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation
ESM Service Layer: Core Services 2.0 Page 144
com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated
com.arcsight.tools.coma.service.ServiceException - For any errors happened during execution of this
operation
See Also:
GET
URL: http://HOST:PORT/www/core-service/rest/LoginService/getAuthenticationMethod?
Normal response code: 200
getAuthenticationMethodPost
public LoginServiceGetAuthenticationMethodResponse
getAuthenticationMethodPost(HttpHeaders hh)
throws ServiceException,
AuthorizationException,
AuthenticationException
Gets the method that applications should use to authenticate users.
Parameters:
hh - HTTP headers from http request
Returns:
The Auth
Throws:
com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation
com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated
See Also:
ESM Service Layer: Core Services 2.0 Page 145
POST
Consumes({"application/x-www-form-urlencoded"})
URL: http://HOST:PORT/www/core-service/rest/LoginService/getAuthenticationMethod
Normal response code: 200
JSON prototype for request body:
{
"log.getAuthenticationMethod" : {
}
}
loginForOneTimeUse
public LoginServiceLoginForOneTimeUseResponse loginForOneTimeUse(String login,
String password,
HttpHeaders hh)
throws ServiceException,
AuthorizationException,
AuthenticationException
Establishes a session which can only be used once subsequent to its creation, and gets the string value of auth-token which
is valid throughout the life of the session.
If the provided information is enough to authenticate the user, the server sends back the authentication token. Otherwise
this method throws an ServiceException. Check the error code of the exception to determine whether authentication failed
or the server requested additional challenge if the error code equals to RuntimeLoginException.LOGIN_CHALLENGE.
The ID of the additional challenge and key for the prompt string could be retrieved from exception's message that is
prepared as String.format("prompt=%s&id=%s", challengePromptKey, Integer.toString(challengeId)).
The client application is responsible for requesting additional information from the user for the challenge ID and sending the
response back via another method sendAuthChallengeResponse.
Parameters:
login - The login user name.
password - The password of the login user.
hh - HTTP headers from http request
Returns:
ESM Service Layer: Core Services 2.0 Page 146
The string value of auth-token to use for further calls otherwise.
Throws:
ServiceException - if authentication failed or the server challenges with additional question
com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation
com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated
com.arcsight.tools.coma.service.ServiceException - For any errors happened during execution of this
operation
See Also:
GET
URL: http://HOST:PORT/www/core-
service/rest/LoginService/loginForOneTimeUse?login=value&password=value
Normal response code: 200
loginForOneTimeUsePost
public LoginServiceLoginForOneTimeUseResponse loginForOneTimeUsePost(String login,
String password,
HttpHeaders hh)
throws ServiceException,
AuthorizationException,
AuthenticationException
Establishes a session which can only be used once subsequent to its creation, and gets the string value of auth-token which
is valid throughout the life of the session.
If the provided information is enough to authenticate the user, the server sends back the authentication token. Otherwise
this method throws an ServiceException. Check the error code of the exception to determine whether authentication failed
or the server requested additional challenge if the error code equals to RuntimeLoginException.LOGIN_CHALLENGE.
The ID of the additional challenge and key for the prompt string could be retrieved from exception's message that is
prepared as String.format("prompt=%s&id=%s", challengePromptKey, Integer.toString(challengeId)).
The client application is responsible for requesting additional information from the user for the challenge ID and sending the
response back via another method sendAuthChallengeResponse.
Parameters:
login - The login user name.
password - The password of the login user.
hh - HTTP headers from http request
Returns:
The string value of auth-token to use for further calls otherwise.
Throws:
ServiceException - if authentication failed or the server challenges with additional question
com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation
com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated
ESM Service Layer: Core Services 2.0 Page 147
See Also:
POST
Consumes({"application/x-www-form-urlencoded"})
URL: http://HOST:PORT/www/core-service/rest/LoginService/loginForOneTimeUse
Normal response code: 200
JSON prototype for request body:
{
"log.loginForOneTimeUse" : {
"log.login" : "value",
"log.password" : "value"
}
}
loginForOneTimeUse
public LoginServiceLoginForOneTimeUseResponse
loginForOneTimeUse(LoginServiceLoginForOneTimeUse value)
throws ServiceException,
AuthorizationException,
AuthenticationException
Establishes a session which can only be used once subsequent to its creation, and gets the string value of auth-token which
is valid throughout the life of the session.
If the provided information is enough to authenticate the user, the server sends back the authentication token. Otherwise
this method throws an ServiceException. Check the error code of the exception to determine whether authentication failed
or the server requested additional challenge if the error code equals to RuntimeLoginException.LOGIN_CHALLENGE.
The ID of the additional challenge and key for the prompt string could be retrieved from exception's message that is
prepared as String.format("prompt=%s&id=%s", challengePromptKey, Integer.toString(challengeId)).
The client application is responsible for requesting additional information from the user for the challenge ID and sending the
response back via another method sendAuthChallengeResponse.
Parameters:
value - Model object containing request body
Returns:
ESM Service Layer: Core Services 2.0 Page 148
The string value of auth-token to use for further calls otherwise.
Throws:
com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation
com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated
com.arcsight.tools.coma.service.ServiceException - For any other errors happened during execution of
this operation
See Also:
POST
Consumes({"application/xml","text/xml","application/json"})
URL: http://HOST:PORT/www/core-service/rest/LoginService/loginForOneTimeUse
Normal response code: 200
JSON prototype for request body:
{
"log.loginForOneTimeUse" : {
"log.login" : "value",
"log.password" : "value"
}
}
where:
login The login user name.
password The password of the login user.
resetPassword
public Void resetPassword(String login,
HttpHeaders hh)
throws ServiceException,
AuthorizationException,
AuthenticationException
ESM Service Layer: Core Services 2.0 Page 149
Resets the password for the user specified by the login userName. The ArcSight Manager assigns a new random password (8
characters, including numbers and letters) and sends it to the selected user's assigned e-mail address. Please note that this
feature needs to be configured as per ESM User's guide.
Parameters:
login - User name associated with the account.
hh - HTTP headers from http request
Throws:
ServiceException
com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation
com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated
com.arcsight.tools.coma.service.ServiceException - For any errors happened during execution of this
operation
See Also:
GET
URL: http://HOST:PORT/www/core-service/rest/LoginService/resetPassword?login=value
Normal response code: 204
resetPasswordPost
public Void resetPasswordPost(String login,
HttpHeaders hh)
throws ServiceException,
AuthorizationException,
AuthenticationException
Resets the password for the user specified by the login userName. The ArcSight Manager assigns a new random password (8
characters, including numbers and letters) and sends it to the selected user's assigned e-mail address. Please note that this
feature needs to be configured as per ESM User's guide.
Parameters:
login - User name associated with the account.
hh - HTTP headers from http request
Throws:
ServiceException
com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation
com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated
See Also:
ESM Service Layer: Core Services 2.0 Page 150
POST
Consumes({"application/x-www-form-urlencoded"})
URL: http://HOST:PORT/www/core-service/rest/LoginService/resetPassword
Normal response code: 204
JSON prototype for request body:
{
"log.resetPassword" : {
"log.login" : "value"
}
}
resetPassword
public Void resetPassword(LoginServiceResetPassword value)
throws ServiceException,
AuthorizationException,
AuthenticationException
Resets the password for the user specified by the login userName. The ArcSight Manager assigns a new random password (8
characters, including numbers and letters) and sends it to the selected user's assigned e-mail address. Please note that this
feature needs to be configured as per ESM User's guide.
Parameters:
value - Model object containing request body
Throws:
com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation
com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated
com.arcsight.tools.coma.service.ServiceException - For any other errors happened during execution of
this operation
See Also:
ESM Service Layer: Core Services 2.0 Page 151
POST
Consumes({"application/xml","text/xml","application/json"})
URL: http://HOST:PORT/www/core-service/rest/LoginService/resetPassword
Normal response code: 204
JSON prototype for request body:
{
"log.resetPassword" : {
"log.login" : "value"
}
}
where:
login User name associated with the account.
getServiceMajorVersion
public LoginServiceGetServiceMajorVersionResponse getServiceMajorVersion(String
authToken,
HttpHeaders hh)
throws ServiceException,
AuthorizationException,
AuthenticationException
The major version of this service.
Parameters:
authToken - Authentication token created for the current session
hh - HTTP headers from http request
Throws:
com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation
com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated
com.arcsight.tools.coma.service.ServiceException - For any errors happened during execution of this
operation
ESM Service Layer: Core Services 2.0 Page 152
See Also:
GET
URL: http://HOST:PORT/www/core-
service/rest/LoginService/getServiceMajorVersion?authToken=value
Normal response code: 200
getServiceMajorVersionPost
public LoginServiceGetServiceMajorVersionResponse getServiceMajorVersionPost(String
authToken,
HttpHeaders hh)
throws ServiceException,
AuthorizationException,
AuthenticationException
The major version of this service.
Parameters:
authToken - Authentication token created for the current session
hh - HTTP headers from http request
Throws:
com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation
com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated
See Also:
ESM Service Layer: Core Services 2.0 Page 153
POST
Consumes({"application/x-www-form-urlencoded"})
URL: http://HOST:PORT/www/core-service/rest/LoginService/getServiceMajorVersion
Normal response code: 200
JSON prototype for request body:
{
"log.getServiceMajorVersion" : {
"log.authToken" : "value"
}
}
getServiceMajorVersion
public LoginServiceGetServiceMajorVersionResponse
getServiceMajorVersion(LoginServiceGetServiceMajorVersion value)
throws ServiceException,
AuthorizationException,
AuthenticationException
The major version of this service.
Parameters:
value - Model object containing request body
Throws:
com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation
com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated
com.arcsight.tools.coma.service.ServiceException - For any other errors happened during execution of
this operation
See Also:
ESM Service Layer: Core Services 2.0 Page 154
POST
Consumes({"application/xml","text/xml","application/json"})
URL: http://HOST:PORT/www/core-service/rest/LoginService/getServiceMajorVersion
Normal response code: 200
JSON prototype for request body:
{
"log.getServiceMajorVersion" : {
"log.authToken" : "value"
}
}
where:
authToken Authentication token created for the current session
getServiceMinorVersion
public LoginServiceGetServiceMinorVersionResponse getServiceMinorVersion(String
authToken,
HttpHeaders hh)
throws ServiceException,
AuthorizationException,
AuthenticationException
The minor version of this service.
Parameters:
authToken - Authentication token created for the current session
hh - HTTP headers from http request
Throws:
com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation
com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated
com.arcsight.tools.coma.service.ServiceException - For any errors happened during execution of this
operation
ESM Service Layer: Core Services 2.0 Page 155
See Also:
GET
URL: http://HOST:PORT/www/core-
service/rest/LoginService/getServiceMinorVersion?authToken=value
Normal response code: 200
getServiceMinorVersionPost
public LoginServiceGetServiceMinorVersionResponse getServiceMinorVersionPost(String
authToken,
HttpHeaders hh)
throws ServiceException,
AuthorizationException,
AuthenticationException
The minor version of this service.
Parameters:
authToken - Authentication token created for the current session
hh - HTTP headers from http request
Throws:
com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation
com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated
See Also:
ESM Service Layer: Core Services 2.0 Page 156
POST
Consumes({"application/x-www-form-urlencoded"})
URL: http://HOST:PORT/www/core-service/rest/LoginService/getServiceMinorVersion
Normal response code: 200
JSON prototype for request body:
{
"log.getServiceMinorVersion" : {
"log.authToken" : "value"
}
}
getServiceMinorVersion
public LoginServiceGetServiceMinorVersionResponse
getServiceMinorVersion(LoginServiceGetServiceMinorVersion value)
throws ServiceException,
AuthorizationException,
AuthenticationException
The minor version of this service.
Parameters:
value - Model object containing request body
Throws:
com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation
com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated
com.arcsight.tools.coma.service.ServiceException - For any other errors happened during execution of
this operation
See Also:
ESM Service Layer: Core Services 2.0 Page 157
POST
Consumes({"application/xml","text/xml","application/json"})
URL: http://HOST:PORT/www/core-service/rest/LoginService/getServiceMinorVersion
Normal response code: 200
JSON prototype for request body:
{
"log.getServiceMinorVersion" : {
"log.authToken" : "value"
}
}
where:
authToken Authentication token created for the current session
ESM Service Layer: Core Services 2.0 Page 158
Package
com.arcsight.tools.coma.service
ESM Service Layer: Core Services 2.0 Page 159
com.arcsight.tools.coma.service
Class RuntimeCodedException
java.lang.Object
|
+-java.lang.Throwable
|
+-java.lang.Exception
|
+-java.lang.RuntimeException
|
+-com.arcsight.tools.coma.service.RuntimeCodedException
public class RuntimeCodedException
extends RuntimeException
Base class for various internal runtime exceptions that may happen while communicating from service layer with internal ESM
classes.
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
RuntimeLoginException
Constructor Summary
public RuntimeCodedException()
Constructs a new runtime exception with null as its detail message.
public RuntimeCodedException(String message)
Constructs a new runtime exception with the specified detail message.
public RuntimeCodedException(Throwable cause)
Constructs a new runtime exception with the specified cause and a detail message of
(cause==null ? null : cause.toString()) (which typically contains the class and detail message
of cause).
public RuntimeCodedException(String message, Throwable cause)
Constructs a new runtime exception with the specified detail message and cause.
public RuntimeCodedException(int errorCode)
Constructs a new exception with the specified error code
Method Summary
int getErrorCode()
Returns the error code associated with this exception.
void setErrorCode(int errorCode)
Associates the error code with the exception.
Methods inherited from class java.lang.Throwable
ESM Service Layer: Core Services 2.0 Page 160
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause,
printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
RuntimeCodedException
public RuntimeCodedException()
Constructs a new runtime exception with null as its detail message.
RuntimeCodedException
public RuntimeCodedException(String message)
Constructs a new runtime exception with the specified detail message.
Parameters:
message - the detail message.
RuntimeCodedException
public RuntimeCodedException(Throwable cause)
Constructs a new runtime exception with the specified cause and a detail message of (cause==null ? null : cause.toString())
(which typically contains the class and detail message of cause). This constructor is useful for runtime exceptions that are
little more than wrappers for other throwables.
Parameters:
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is
permitted, and indicates that the cause is nonexistent or unknown.)
RuntimeCodedException
public RuntimeCodedException(String message,
Throwable cause)
Constructs a new runtime exception with the specified detail message and cause.
Note that the detail message associated with cause is not automatically incorporated in this runtime exception's detail
message.
Parameters:
message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is
permitted, and indicates that the cause is nonexistent or unknown.)
ESM Service Layer: Core Services 2.0 Page 161
RuntimeCodedException
public RuntimeCodedException(int errorCode)
Constructs a new exception with the specified error code
Parameters:
errorCode - error code identifying the exceptional case
Methods
getErrorCode
public int getErrorCode()
Returns the error code associated with this exception. The error code is set when the exception thrown and it indicates the
failure or irregular situation.
Returns:
the errorCode
setErrorCode
public void setErrorCode(int errorCode)
Associates the error code with the exception.
Parameters:
errorCode - The errorCode to set
ESM Service Layer: Core Services 2.0 Page 162
com.arcsight.tools.coma.service
Class RuntimeLoginException
java.lang.Object
|
+-java.lang.Throwable
|
+-java.lang.Exception
|
+-java.lang.RuntimeException
|
+-com.arcsight.tools.coma.service.RuntimeCodedException
|
+-com.arcsight.tools.coma.service.RuntimeLoginException
public class RuntimeLoginException
extends RuntimeCodedException
Exception thrown for authentication issues. It doesn't necessarily means failure. The exception could indicate a request for
additional information (challenge).
This is internal exception not returned by API calls. To report related exceptional cases to the clients API converts this exception to
ServiceLoginException
All Implemented Interfaces:
Serializable
Field Summary
public static final LOGIN_CHALLENGE
Indicates additional challenge requested by the server.
Value: -4
public static final LOGIN_ERROR_FAILURE
Indicates login failure.
Value: 0
public static final LOGIN_ERROR_LICENSE_EXPIRED
Indicates an expired license.
Value: -1
public static final LOGIN_ERROR_PASSWORD_EXPIRED
Indicates expired password.
Value: -3
public static final LOGIN_ERROR_USER_DISABLED
Indicates the fact that user account was disabled.
Value: -2
public static final LOGIN_ERROR_USER_NOT_ALLOWED
Indicates that the user doesn't have permission to access the component.
Value: -5
ESM Service Layer: Core Services 2.0 Page 163
Constructor Summary
public RuntimeLoginException()
Constructs a new runtime exception with null as its detail message.
public RuntimeLoginException(String message)
Constructs a new runtime exception with the specified detail message.
public RuntimeLoginException(Throwable cause)
Constructs a new runtime exception with the specified cause and a detail message of
(cause==null ? null : cause.toString()) (which typically contains the class and detail message
of cause).
public RuntimeLoginException(String message, Throwable cause)
Constructs a new runtime exception with the specified detail message and cause.
public RuntimeLoginException(int errorCode)
Methods inherited from class com.arcsight.tools.coma.service.RuntimeCodedException
getErrorCode, setErrorCode
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause,
printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Fields
LOGIN_ERROR_FAILURE
public static final int LOGIN_ERROR_FAILURE
Indicates login failure.
Constant value: 0
LOGIN_ERROR_LICENSE_EXPIRED
public static final int LOGIN_ERROR_LICENSE_EXPIRED
Indicates an expired license.
Constant value: -1
LOGIN_ERROR_USER_DISABLED
public static final int LOGIN_ERROR_USER_DISABLED
Indicates the fact that user account was disabled.
ESM Service Layer: Core Services 2.0 Page 164
Constant value: -2
LOGIN_ERROR_PASSWORD_EXPIRED
public static final int LOGIN_ERROR_PASSWORD_EXPIRED
Indicates expired password.
Constant value: -3
LOGIN_CHALLENGE
public static final int LOGIN_CHALLENGE
Indicates additional challenge requested by the server. Login cannot be completed until the user to meet the challenge.
Constant value: -4
LOGIN_ERROR_USER_NOT_ALLOWED
public static final int LOGIN_ERROR_USER_NOT_ALLOWED
Indicates that the user doesn't have permission to access the component.
Constant value: -5
Constructors
RuntimeLoginException
public RuntimeLoginException()
Constructs a new runtime exception with null as its detail message.
RuntimeLoginException
public RuntimeLoginException(String message)
Constructs a new runtime exception with the specified detail message.
Parameters:
message - the detail message.
RuntimeLoginException
public RuntimeLoginException(Throwable cause)
Constructs a new runtime exception with the specified cause and a detail message of (cause==null ? null : cause.toString())
(which typically contains the class and detail message of cause). This constructor is useful for runtime exceptions that are
little more than wrappers for other throwables.
Parameters:
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is
permitted, and indicates that the cause is nonexistent or unknown.)
ESM Service Layer: Core Services 2.0 Page 165
RuntimeLoginException
public RuntimeLoginException(String message,
Throwable cause)
Constructs a new runtime exception with the specified detail message and cause.
Note that the detail message associated with cause is not automatically incorporated in this runtime exception's detail
message.
Parameters:
message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is
permitted, and indicates that the cause is nonexistent or unknown.)
RuntimeLoginException
public RuntimeLoginException(int errorCode)
ESM Service Layer: Core Services 2.0 Page 166
com.arcsight.tools.coma.service
Interface Service
public interface Service
extends
Base interface for services.
All Known Implementing Classes:
ServiceBase
Method Summary
int getServiceMajorVersion()
The major version of this service.
int getServiceMinorVersion()
The minor version of this service.
Methods
getServiceMajorVersion
public int getServiceMajorVersion()
The major version of this service.
Returns:
The major version of this service.
getServiceMinorVersion
public int getServiceMinorVersion()
The minor version of this service.
Returns:
The minor version of this service.
ESM Service Layer: Core Services 2.0 Page 167
com.arcsight.tools.coma.service
Class ServiceBase
java.lang.Object
|
+-com.arcsight.tools.coma.service.ServiceBase
public abstract class ServiceBase
extends Object
implements Service
Base service implementation.
All Implemented Interfaces:
Service
Constructor Summary
public ServiceBase()
Method Summary
int getServiceMajorVersion()
int getServiceMinorVersion()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.arcsight.tools.coma.service.Service
getServiceMajorVersion, getServiceMinorVersion
Constructors
ServiceBase
public ServiceBase()
Methods
ESM Service Layer: Core Services 2.0 Page 168
getServiceMajorVersion
public int getServiceMajorVersion()
getServiceMinorVersion
public int getServiceMinorVersion()
ESM Service Layer: Core Services 2.0 Page 169
com.arcsight.tools.coma.service
Class ServiceException
java.lang.Object
|
+-java.lang.Throwable
|
+-java.lang.Exception
|
+-com.arcsight.tools.coma.service.ServiceException
public class ServiceException
extends Exception
implements Serializable, Serializable
This is exception for kahuna/coma service. There are several reasons to have special exception impl: 1. Make it serializable so all
service binding can marshal it 2. Due to the known GWT marshaling issue, parent message can not be marshaled we have to
duplicated parent instance variables in this class.
All Implemented Interfaces:
Serializable, Serializable
Direct Known Subclasses:
ValidationException, ServiceLoginException
Field Summary
public static final ERROR_UNKNOWN
Value: -54188
Constructor Summary
public ServiceException()
Constructs a new exception with null as its detail message.
public ServiceException(String message)
Constructs a new exception with the specified detail message.
public ServiceException(Throwable cause)
Constructs a new exception with the specified cause and a detail message of (cause==null ?
null : cause.toString()) (which typically contains the class and detail message of cause).
public ServiceException(String message, Throwable cause)
Constructs a new exception with the specified detail message and cause.
Method Summary
static String buildExceptionStackTraceString(Throwable e)
It builds a string for stack trace of an exception.
ESM Service Layer: Core Services 2.0 Page 170
static
ServiceException
createServiceException(Throwable e)
It creates an exception which is serializable.
int getErrorCode()
Returns the error code associated with this exception.
void setErrorCode(int errorCode)
Associates the error code with the exception.
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause,
printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Fields
ERROR_UNKNOWN
public static final int ERROR_UNKNOWN
Constant value: -54188
Constructors
ServiceException
public ServiceException()
Constructs a new exception with null as its detail message. The cause is not initialized, and may subsequently be initialized
by a call to Throwable.initCause(java.lang.Throwable).
ServiceException
public ServiceException(String message)
Constructs a new exception with the specified detail message. The cause is not initialized, and may subsequently be
initialized by a call to Throwable.initCause(java.lang.Throwable).
Parameters:
message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage()
method.
ServiceException
public ServiceException(Throwable cause)
ESM Service Layer: Core Services 2.0 Page 171
Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which
typically contains the class and detail message of cause). This constructor is useful for exceptions that are little more than
wrappers for other throwables (for example, java.security.PrivilegedActionException).
Parameters:
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is
permitted, and indicates that the cause is nonexistent or unknown.)
ServiceException
public ServiceException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause.
Note that the detail message associated with cause is not automatically incorporated in this exception's detail message.
Parameters:
message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is
permitted, and indicates that the cause is nonexistent or unknown.)
Methods
buildExceptionStackTraceString
public static String buildExceptionStackTraceString(Throwable e)
It builds a string for stack trace of an exception. It is used for debugging log.
Parameters:
e
Returns:
createServiceException
public static ServiceException createServiceException(Throwable e)
It creates an exception which is serializable. Some of the throwables, such as NullPointerException, are not serializable.
They will cause serialization error when they are wrapped in service exception. This approach wraps all stack traces as string
in service exception.
Parameters:
e
Returns:
getErrorCode
public int getErrorCode()
Returns the error code associated with this exception. The error code is set when the exception thrown and it indicates the
failure or irregular situation.
ESM Service Layer: Core Services 2.0 Page 172
Returns:
the errorCode
setErrorCode
public void setErrorCode(int errorCode)
Associates the error code with the exception.
Parameters:
errorCode - The errorCode to set
ESM Service Layer: Core Services 2.0 Page 173
com.arcsight.tools.coma.service
Class ServiceLoginException
java.lang.Object
|
+-java.lang.Throwable
|
+-java.lang.Exception
|
+-com.arcsight.tools.coma.service.ServiceException
|
+-com.arcsight.tools.coma.service.ServiceLoginException
public class ServiceLoginException
extends ServiceException
Exception thrown for authentication issues. It doesn't necessarily means failure. The exception could indicate a request for
additional information (challenge).
All Implemented Interfaces:
Serializable, Serializable
Field Summary
public static final LOGIN_ERROR_FAILURE
Indicates login failure.
Value: 0
public static final LOGIN_ERROR_LICENSE_EXPIRED
Indicates an expired license.
Value: -1
public static final LOGIN_ERROR_USER_DISABLED
Indicates the fact that user account was disabled.
Value: -2
public static final LOGIN_ERROR_USER_NOT_ALLOWED
Indicates that the user doesn't have permission to access the component.
Value: -5
Fields inherited from class com.arcsight.tools.coma.service.ServiceException
ERROR_UNKNOWN
Constructor Summary
public ServiceLoginException()
Constructs a new exception with null as its detail message.
public ServiceLoginException(String message)
Constructs a new exception with the specified detail message.
ESM Service Layer: Core Services 2.0 Page 174
public ServiceLoginException(Throwable cause)
Constructs a new exception with the specified cause and a detail message of (cause==null ?
null : cause.toString()) (which typically contains the class and detail message of cause).
public ServiceLoginException(String message, Throwable cause)
Constructs a new exception with the specified detail message and cause.
public ServiceLoginException(int errorCode)
Constructs a new exception with the specified error code
Methods inherited from class com.arcsight.tools.coma.service.ServiceException
buildExceptionStackTraceString, createServiceException, getErrorCode, setErrorCode
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause,
printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Fields
LOGIN_ERROR_FAILURE
public static final int LOGIN_ERROR_FAILURE
Indicates login failure.
Constant value: 0
LOGIN_ERROR_LICENSE_EXPIRED
public static final int LOGIN_ERROR_LICENSE_EXPIRED
Indicates an expired license.
Constant value: -1
LOGIN_ERROR_USER_DISABLED
public static final int LOGIN_ERROR_USER_DISABLED
Indicates the fact that user account was disabled.
Constant value: -2
LOGIN_ERROR_USER_NOT_ALLOWED
public static final int LOGIN_ERROR_USER_NOT_ALLOWED
Indicates that the user doesn't have permission to access the component.
Constant value: -5
ESM Service Layer: Core Services 2.0 Page 175
Constructors
ServiceLoginException
public ServiceLoginException()
Constructs a new exception with null as its detail message. The cause is not initialized, and may subsequently be initialized
by a call to Throwable.initCause(java.lang.Throwable).
ServiceLoginException
public ServiceLoginException(String message)
Constructs a new exception with the specified detail message. The cause is not initialized, and may subsequently be
initialized by a call to Throwable.initCause(java.lang.Throwable).
Parameters:
message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage()
method.
ServiceLoginException
public ServiceLoginException(Throwable cause)
Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which
typically contains the class and detail message of cause). This constructor is useful for exceptions that are little more than
wrappers for other throwables (for example, java.security.PrivilegedActionException).
Parameters:
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is
permitted, and indicates that the cause is nonexistent or unknown.)
ServiceLoginException
public ServiceLoginException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause.
Note that the detail message associated with cause is not automatically incorporated in this exception's detail message.
Parameters:
message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is
permitted, and indicates that the cause is nonexistent or unknown.)
ServiceLoginException
public ServiceLoginException(int errorCode)
Constructs a new exception with the specified error code
Parameters:
errorCode - error code identifying the exceptional case
ESM Service Layer: Core Services 2.0 Page 176
com.arcsight.tools.coma.service
Class ValidationException
java.lang.Object
|
+-java.lang.Throwable
|
+-java.lang.Exception
|
+-com.arcsight.tools.coma.service.ServiceException
|
+-com.arcsight.tools.coma.service.ValidationException
public class ValidationException
extends ServiceException
Base class for various validation exceptions to indicate failures to validate different types of data (e.g. password).
All Implemented Interfaces:
Serializable, Serializable
Fields inherited from class com.arcsight.tools.coma.service.ServiceException
ERROR_UNKNOWN
Constructor Summary
public ValidationException()
Constructs a new exception with null as its detail message.
public ValidationException(String message)
Constructs a new exception with the specified detail message.
public ValidationException(String message, Map validationErrors)
Constructs a new exception with the specified detail message and a map containing error
descriptions.
Method Summary
String getLocalizedMessage()
String getMessage()
Map getValidationErrors()
Returns validationErrors, which is a map of errors found for different items.
void setValidationErrors(Map validationErrors)
Sets the validationErrors.
String toString()
ESM Service Layer: Core Services 2.0 Page 177
Methods inherited from class com.arcsight.tools.coma.service.ServiceException
buildExceptionStackTraceString, createServiceException, getErrorCode, setErrorCode
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause,
printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
ValidationException
public ValidationException()
Constructs a new exception with null as its detail message. The cause is not initialized, and may subsequently be initialized
by a call to Throwable.initCause(java.lang.Throwable).
ValidationException
public ValidationException(String message)
Constructs a new exception with the specified detail message. The cause is not initialized, and may subsequently be
initialized by a call to Throwable.initCause(java.lang.Throwable).
Parameters:
message - the detail message. The detail message is saved for later retrieval by the getMessage() method.
ValidationException
public ValidationException(String message,
Map validationErrors)
Constructs a new exception with the specified detail message and a map containing error descriptions. The cause is not
initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).
Parameters:
message - the detail message. The detail message is saved for later retrieval by the getMessage() method.
validationErrors - Map containing errors found for different items
Methods
getValidationErrors
public Map getValidationErrors()
Returns validationErrors, which is a map of errors found for different items.
ESM Service Layer: Core Services 2.0 Page 178
Returns:
the validationErrors errors associated with different properties
setValidationErrors
public void setValidationErrors(Map validationErrors)
Sets the validationErrors.
Parameters:
validationErrors - the validationErrors to set
getMessage
public String getMessage()
getLocalizedMessage
public String getLocalizedMessage()
toString
public String toString()
ESM Service Layer: Core Services 2.0 Page 179
Index
A
AuthContext 71
authenticate 139
AuthenticationException 4
AuthenticationExceptionBean 12
AuthMethod 74, 75
AuthorizationException 5
AuthorizationExceptionBean 14
AuthResponse 76, 77
B
buildExceptionStackTraceString 172
BUILTIN 74
C
CONAPP_RIGHTS 85
createServiceException 172
Credential 79
E
ERROR_UNKNOWN 9, 171
ESM 87
F
Friday 118
G
GetAllRightsByGroupTypeResponse 16
getAuthContext 19
getAuthenticationMethod 144
getAuthenticationMethodPost 145
getAuthToken 18, 22, 26, 30, 34, 38, 42, 46, 48, 54, 58, 62,
77, 103
getCategory 98
getChallengeId 63
getCreationMillis 103
getCred 19
getCurrentUser 132, 134
getCurrentUserPost 133
getDayOfWeek 100
getDbName 85
getDepartment 114
getDescription 83, 98
getEmail 111
getEndTime 101
getErrorCode 10, 68, 162, 172
getExpirationMillis 104
getExternalLoginId 113
getFallback 71
getFax 114
getFirstName 110
getGroupIds 110
getHour 105
getId 82, 97, 100, 109
getIsActive 112
getIsDefault 83, 112
getLastName 111
getLocalizedMessage 179
getLogin 47, 49, 59, 110
getMessage 12, 14, 69, 179
getMinutes 106
getModule 97
getMustChangePassword 113
getName 83, 97
getNotes 115
getPagerNumber 115
getPassword 47, 49, 93, 112
getPhone 112
getRemoteStacktrace 9
getRequirement 94
getResp 63
getReturn 16, 20, 24, 28, 32, 36, 40, 50, 52, 56, 60, 64
getRightIds 82
getScheduledWorkPeriods 113
getServiceMajorVersion 152, 154, 167, 168
getServiceMajorVersionPost 153
getServiceMinorVersion 155, 157, 167, 169
getServiceMinorVersionPost 156
getSession 135, 137
getSessionPost 136
getStartTime 100
getTitle 114
ESM Service Layer: Core Services 2.0 Page 180
getType 83, 97
getUser 77
getUserId 103
getUserIds 82
getUserName 79
getValidationErrors 178
getValue 95
Group 82
H
HashMapOfRightListResponse 121
I
isCASAuth 138
isCASAuthPost 138
isExternalUserId 75
isLocalPassword 75
isLocked 115
isPasswordChangeRequired 78
isPasswordExpiring 78
isReturn 44
L
LOGGER_REPORT 85
LOGGER_RIGHTS 85
LOGGER_SEARCH 85
login 126, 128
LOGIN_CHALLENGE 165
LOGIN_ERROR_FAILURE 164, 175
LOGIN_ERROR_LICENSE_EXPIRED 164, 175
LOGIN_ERROR_PASSWORD_EXPIRED 165
LOGIN_ERROR_USER_DISABLED 164, 175
LOGIN_ERROR_USER_NOT_ALLOWED 165, 175
loginForOneTimeUse 146, 148
loginForOneTimeUsePost 147
loginPost 127
LoginServiceAuthenticate 18
LoginServiceAuthenticateResponse 20
LoginServiceGetAuthenticationMethod 22
LoginServiceGetAuthenticationMethodResponse 24
LoginServiceGetCurrentUser 26
LoginServiceGetCurrentUserResponse 28
LoginServiceGetServiceMajorVersion 30
LoginServiceGetServiceMajorVersionResponse 32
LoginServiceGetServiceMinorVersion 34
LoginServiceGetServiceMinorVersionResponse 36
LoginServiceGetSession 38
LoginServiceGetSessionResponse 40
LoginServiceImpl 126
LoginServiceIsCASAuth 42
LoginServiceIsCASAuthResponse 44
LoginServiceLogin 46
LoginServiceLoginForOneTimeUse 48
LoginServiceLoginForOneTimeUseResponse 50
LoginServiceLoginResponse 52
LoginServiceLogout 54
LoginServiceLogoutResponse 56
LoginServiceResetPassword 58
LoginServiceResetPasswordResponse 60
LoginServiceSendAuthChallengeResponse 62
LoginServiceSendAuthChallengeResponseResponse 64
logout 129, 131
logoutPost 130
M
MAXIMUM_LENGTH 90
MINIMUM_DIFFERENCE 91
MINIMUM_LENGTH 90
MINIMUM_LOWER_CASE 90
MINIMUM_NUMERIC 90
MINIMUM_SPECIAL_CHARACTERS 90
MINIMUM_UPPER_CASE 90
ModelLoader 66
Monday 118
O
ObjectFactory 67, 122
P
PasswordCredential 92
PasswordRequirement 94
PKI 74
PKI_AND_LOCAL_PASSWORD 74
PKI_WITH_PASSWORD_BACKUP 74
ESM Service Layer: Core Services 2.0 Page 181
PLATFORM 88
R
RADIUS 74
RADIUS_WITH_PASSWORD_BACKUP 74
RemoteServiceException 9
resetPassword 149, 151
resetPasswordPost 150
Right 97
RuntimeCodedException 161
RuntimeLoginException 165, 166
S
Saturday 118
ScheduledWorkPeriod 100
sendAuthChallengeResponse 140, 142
sendAuthChallengeResponsePost 141
ServiceBase 168
ServiceException 171, 172
ServiceExceptionBean 68
ServiceLoginException 175, 176
Session 102
setAuthContext 19
setAuthToken 19, 22, 26, 30, 34, 38, 42, 47, 49, 54, 59, 63,
77, 103
setCategory 98
setChallengeId 63
setCreationMillis 104
setCred 19
setDayOfWeek 100
setDepartment 114
setDescription 83, 98
setEmail 111
setEndTime 101
setErrorCode 10, 69, 162, 173
setExpirationMillis 104
setExternalLoginId 113
setExternalUserId 75
setFallback 71
setFax 114
setFirstName 111
setGroupIds 110
setHour 106
setId 82, 97, 100, 109
setIsActive 112
setIsDefault 83, 112
setLastName 111
setLocalPassword 75
setLocked 115
setLogin 47, 49, 59, 110
setMessage 12, 14, 69
setMinutes 106
setModule 97
setMustChangePassword 113
setName 83, 98
setNotes 115
setPagerNumber 115
setPassword 47, 49, 93, 111
setPasswordExpiring 78
setPhone 112
setRemoteStacktrace 10
setRequirement 95
setResp 63
setReturn 16, 20, 24, 28, 32, 36, 40, 44, 50, 52, 56, 60, 64
setRightIds 82
setScheduledWorkPeriods 113
setStartTime 101
setTitle 114
setType 83, 97
setUser 77
setUserId 103
setUserIds 82
setUserName 80
setValidationErrors 179
setValue 95
Sunday 118
SYSTEM_ADMIN 85
T
Thursday 118
Time 105
toString 101, 179
Tuesday 118
U
User 109
ESM Service Layer: Core Services 2.0 Page 182
V
ValidationException 178
valueOf 85, 88, 91, 119
values 85, 88, 91, 118
W
Wednesday 118
ESM Service Layer: Core Services 2.0 Page 183

More Related Content

PDF
ESM_ServiceLayerCoreServices_Javadoc_Vol1_1.0.pdf
PDF
ESM Service Layer API Reference, Vol. 1: Core-Client Services (ESM v6.9.1c)
PDF
IEEE 802.1X and Axis’ Implementation
PPTX
PeopleSoft: HACK THE Planet^W university
TXT
Acs sim errorlog
ODP
Interoperable Web Services with JAX-WS and WSIT
PPTX
Introduction To Cloud Computing
PDF
Pushing Datatothe Browserwith Comet Ajax W
ESM_ServiceLayerCoreServices_Javadoc_Vol1_1.0.pdf
ESM Service Layer API Reference, Vol. 1: Core-Client Services (ESM v6.9.1c)
IEEE 802.1X and Axis’ Implementation
PeopleSoft: HACK THE Planet^W university
Acs sim errorlog
Interoperable Web Services with JAX-WS and WSIT
Introduction To Cloud Computing
Pushing Datatothe Browserwith Comet Ajax W

Similar to ESM Service Layer API Reference: Vol. 1: Core-Client Services (20)

DOCX
Web services in java
PPTX
11 asp.net web api
PPTX
ASP.NET Web API and HTTP Fundamentals
PPT
Asp.Net Ajax Component Development
PPT
Java servlet life cycle - methods ppt
PPT
Rich Enterprise Applications with JavaFX
PPTX
Yogesh kumar kushwah represent’s
PPT
Distributed Objects and JAVA
PPTX
Harbour IT & VMware - vForum 2010 Wrap
PDF
OpenShift Meetup - Tokyo - Service Mesh and Serverless Overview
PDF
AMF Testing Made Easy! DeepSec 2012
PDF
Dev309 from asgard to zuul - netflix oss-final
PPTX
.net Framework
ODP
SCDJWS 5. JAX-WS
PPT
Visual Studio.NET
PDF
ESM_ServiceLayer_DevGuide_1.0.pdf
PDF
ESM 6.9.1c Patch 3 Release Notes
PDF
SOA with C, C++, PHP and more
PPTX
Openstack Icehouse IaaS Presentation
PPT
Whidbey old
Web services in java
11 asp.net web api
ASP.NET Web API and HTTP Fundamentals
Asp.Net Ajax Component Development
Java servlet life cycle - methods ppt
Rich Enterprise Applications with JavaFX
Yogesh kumar kushwah represent’s
Distributed Objects and JAVA
Harbour IT & VMware - vForum 2010 Wrap
OpenShift Meetup - Tokyo - Service Mesh and Serverless Overview
AMF Testing Made Easy! DeepSec 2012
Dev309 from asgard to zuul - netflix oss-final
.net Framework
SCDJWS 5. JAX-WS
Visual Studio.NET
ESM_ServiceLayer_DevGuide_1.0.pdf
ESM 6.9.1c Patch 3 Release Notes
SOA with C, C++, PHP and more
Openstack Icehouse IaaS Presentation
Whidbey old
Ad

More from Protect724gopi (20)

PDF
HP ArcSight EnterpriseView Release Notes
PDF
HP ArcSight EnterpriseView Deployment Guide
PDF
HP ArcSight EnterpriseView REST API Developer's Guide
PDF
EnterpriseView Administration Guide.pdf
PDF
HP EnterpriseView v1.5 Administration Guide
PDF
HP EnterpriseView v1.5 Deployment Guide
PDF
HP EnterpriseView v1.5 Deployment Guide
PDF
HP EnterpriseView v1.5 REST API Developer's Guide
PDF
HP EnterpriseView v1.5 User Guide
PDF
HP EnterpriseView v1.5 SAP BusinessObjects Installation Guide
PDF
HP ArcSight EnterpriseView v1.6 Administration Guide
PDF
HP ArcSight EnterpriseView v1.6 Deployment Guide
PDF
HP ArcSight EnterpriseView REST API v1.6 Developer's Guide
PDF
HP ArcSight EnterpriseView v1.6 User Guide
PDF
HP ArcSight EnterpriseView v1.6 SAP BusinessObjects Installation
PDF
HP ArcSight EnterpriseView v1.6 SAP BusinessObjects Installation
PDF
EnterpriseView 2.0 REST API Developer's Guide
PDF
SAP BusinessObjects Installation Guide
PDF
EnterpriseView 2.0 Deployment Guide
PDF
EnterpriseView 2.0 User Guide
HP ArcSight EnterpriseView Release Notes
HP ArcSight EnterpriseView Deployment Guide
HP ArcSight EnterpriseView REST API Developer's Guide
EnterpriseView Administration Guide.pdf
HP EnterpriseView v1.5 Administration Guide
HP EnterpriseView v1.5 Deployment Guide
HP EnterpriseView v1.5 Deployment Guide
HP EnterpriseView v1.5 REST API Developer's Guide
HP EnterpriseView v1.5 User Guide
HP EnterpriseView v1.5 SAP BusinessObjects Installation Guide
HP ArcSight EnterpriseView v1.6 Administration Guide
HP ArcSight EnterpriseView v1.6 Deployment Guide
HP ArcSight EnterpriseView REST API v1.6 Developer's Guide
HP ArcSight EnterpriseView v1.6 User Guide
HP ArcSight EnterpriseView v1.6 SAP BusinessObjects Installation
HP ArcSight EnterpriseView v1.6 SAP BusinessObjects Installation
EnterpriseView 2.0 REST API Developer's Guide
SAP BusinessObjects Installation Guide
EnterpriseView 2.0 Deployment Guide
EnterpriseView 2.0 User Guide
Ad

Recently uploaded (20)

PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
System and Network Administraation Chapter 3
PPTX
history of c programming in notes for students .pptx
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
Digital Systems & Binary Numbers (comprehensive )
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PPTX
Introduction to Artificial Intelligence
PDF
medical staffing services at VALiNTRY
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
Softaken Excel to vCard Converter Software.pdf
PPTX
assetexplorer- product-overview - presentation
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
System and Network Administraation Chapter 3
history of c programming in notes for students .pptx
PTS Company Brochure 2025 (1).pdf.......
Digital Systems & Binary Numbers (comprehensive )
2025 Textile ERP Trends: SAP, Odoo & Oracle
Odoo Companies in India – Driving Business Transformation.pdf
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
How to Choose the Right IT Partner for Your Business in Malaysia
Introduction to Artificial Intelligence
medical staffing services at VALiNTRY
Design an Analysis of Algorithms II-SECS-1021-03
How to Migrate SBCGlobal Email to Yahoo Easily
Softaken Excel to vCard Converter Software.pdf
assetexplorer- product-overview - presentation
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
VVF-Customer-Presentation2025-Ver1.9.pptx
CHAPTER 2 - PM Management and IT Context
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf

ESM Service Layer API Reference: Vol. 1: Core-Client Services

  • 1. ESM Service Layer API Reference for HP ArcSight ESM 6.8c Vol. 1: Core-Client Services November 30, 2014
  • 2. Legal Notices Warranty The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein. The information contained herein is subject to change without notice. The network information used in the examples in this document (including IP addresses and hostnames) is for illustration purposes only. HP ArcSight products are highly flexible and function as you configure them. The accessibility, integrity, and confidentiality of your data is your responsibility. Implement a comprehensive security strategy and follow good security practices. This document is confidential. Restricted Rights Legend Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor's standard commercial license. Copyright Notice © Copyright 2015 Hewlett-Packard Development Company, L.P. Follow this link to see a complete statement of copyrights and acknowledgements: http://www.hpenterprisesecurity.com/copyright Support Contact Information Phone A list of phone numbers is available on the HP ArcSight Technical Support page: https://softwaresupport.hp.com/documents/10180/14684/esp-support- contact-list Support Web Site http://softwaresupport.hp.com Protect 724 Community https://protect724.hp.com ESM Service Layer: Core Services 2.0 Page 2
  • 4. com.arcsight.coma.bridge Class AuthenticationException java.lang.Object | +-java.lang.Throwable | +-java.lang.Exception | +-com.arcsight.coma.bridge.AuthenticationException public class AuthenticationException extends Exception All Implemented Interfaces: Serializable Constructor Summary public AuthenticationException(String message) public AuthenticationException(String service, String method) Methods inherited from class java.lang.Throwable fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors AuthenticationException public AuthenticationException(String message) AuthenticationException public AuthenticationException(String service, String method) ESM Service Layer: Core Services 2.0 Page 4
  • 5. com.arcsight.coma.bridge Class AuthorizationException java.lang.Object | +-java.lang.Throwable | +-java.lang.Exception | +-com.arcsight.coma.bridge.AuthorizationException public class AuthorizationException extends Exception All Implemented Interfaces: Serializable Constructor Summary public AuthorizationException(String message) public AuthorizationException(String service, String method, boolean classRequiresAuthentication, boolean methodRequiresAuthentication, String[] classRequiredRights, String[] methodRequiredRights) Methods inherited from class java.lang.Throwable fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors AuthorizationException public AuthorizationException(String message) (continued on next page) ESM Service Layer: Core Services 2.0 Page 5
  • 6. AuthorizationException public AuthorizationException(String service, String method, boolean classRequiresAuthentication, boolean methodRequiresAuthentication, String[] classRequiredRights, String[] methodRequiredRights) ESM Service Layer: Core Services 2.0 Page 6
  • 8. com.arcsight.coma.client.gwt Class RemoteServiceException java.lang.Object | +-java.lang.Throwable | +-java.lang.Exception | +-com.arcsight.coma.client.gwt.RemoteServiceException public class RemoteServiceException extends Exception implements Serializable, Serializable All Implemented Interfaces: Serializable, Serializable Field Summary public static final ERROR_UNKNOWN Value: -54188 Constructor Summary public RemoteServiceException() public RemoteServiceException(String message, Throwable cause) public RemoteServiceException(String message) public RemoteServiceException(Throwable cause) Method Summary int getErrorCode() String getRemoteStacktrace() void setErrorCode(int errorCode) void setRemoteStacktrace(String remoteStacktrace) Methods inherited from class java.lang.Throwable ESM Service Layer: Core Services 2.0 Page 8
  • 9. fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Fields ERROR_UNKNOWN public static final int ERROR_UNKNOWN Constant value: -54188 Constructors RemoteServiceException public RemoteServiceException() RemoteServiceException public RemoteServiceException(String message, Throwable cause) RemoteServiceException public RemoteServiceException(String message) RemoteServiceException public RemoteServiceException(Throwable cause) Methods getRemoteStacktrace public String getRemoteStacktrace() ESM Service Layer: Core Services 2.0 Page 9
  • 10. setRemoteStacktrace public void setRemoteStacktrace(String remoteStacktrace) getErrorCode public int getErrorCode() setErrorCode public void setErrorCode(int errorCode) ESM Service Layer: Core Services 2.0 Page 10
  • 12. com.arcsight.product.core.service.v1.axis2.jaxws Class AuthenticationExceptionBean java.lang.Object | +-com.arcsight.product.core.service.v1.axis2.jaxws.AuthenticationExceptionBean public class AuthenticationExceptionBean extends Object This class was generated by the JAX-WS RI. JAX-WS RI 2.1.5-b03- Generated source version: 2.1.5 Constructor Summary public AuthenticationExceptionBean() Method Summary String getMessage() void setMessage(String message) Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors AuthenticationExceptionBean public AuthenticationExceptionBean() Methods getMessage public String getMessage() Returns: returns String ESM Service Layer: Core Services 2.0 Page 12
  • 13. setMessage public void setMessage(String message) Parameters: message - the value for the message property ESM Service Layer: Core Services 2.0 Page 13
  • 14. com.arcsight.product.core.service.v1.axis2.jaxws Class AuthorizationExceptionBean java.lang.Object | +-com.arcsight.product.core.service.v1.axis2.jaxws.AuthorizationExceptionBean public class AuthorizationExceptionBean extends Object This class was generated by the JAX-WS RI. JAX-WS RI 2.1.5-b03- Generated source version: 2.1.5 Constructor Summary public AuthorizationExceptionBean() Method Summary String getMessage() void setMessage(String message) Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors AuthorizationExceptionBean public AuthorizationExceptionBean() Methods getMessage public String getMessage() Returns: returns String ESM Service Layer: Core Services 2.0 Page 14
  • 15. setMessage public void setMessage(String message) Parameters: message - the value for the message property ESM Service Layer: Core Services 2.0 Page 15
  • 16. com.arcsight.product.core.service.v1.axis2.jaxws Class GetAllRightsByGroupTypeResponse java.lang.Object | +-com.arcsight.product.core.service.v1.axis2.jaxws.GetAllRightsByGroupTypeResponse public class GetAllRightsByGroupTypeResponse extends Object Constructor Summary public GetAllRightsByGroupTypeResponse() Method Summary HashMap getReturn() void setReturn(HashMap _return) Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors GetAllRightsByGroupTypeResponse public GetAllRightsByGroupTypeResponse() Methods getReturn public HashMap getReturn() Returns: returns HashMap> ESM Service Layer: Core Services 2.0 Page 16
  • 17. setReturn public void setReturn(HashMap _return) Parameters: _return - the value for the _return property ESM Service Layer: Core Services 2.0 Page 17
  • 18. com.arcsight.product.core.service.v1.axis2.jaxws Class LoginServiceAuthenticate java.lang.Object | +-com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceAuthenticate public class LoginServiceAuthenticate extends Object Constructor Summary public LoginServiceAuthenticate() Method Summary AuthContext getAuthContext() String getAuthToken() PasswordCredential getCred() void setAuthContext(AuthContext authContext) void setAuthToken(String authToken) void setCred(PasswordCredential cred) Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors LoginServiceAuthenticate public LoginServiceAuthenticate() Methods ESM Service Layer: Core Services 2.0 Page 18
  • 19. getAuthToken public String getAuthToken() Returns: returns String setAuthToken public void setAuthToken(String authToken) Parameters: authToken - the value for the authToken property getCred public PasswordCredential getCred() Returns: returns PasswordCredential setCred public void setCred(PasswordCredential cred) Parameters: cred - the value for the cred property getAuthContext public AuthContext getAuthContext() Returns: returns AuthContext setAuthContext public void setAuthContext(AuthContext authContext) Parameters: authContext - the value for the authContext property ESM Service Layer: Core Services 2.0 Page 19
  • 20. com.arcsight.product.core.service.v1.axis2.jaxws Class LoginServiceAuthenticateResponse java.lang.Object | +-com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceAuthenticateResponse public class LoginServiceAuthenticateResponse extends Object Constructor Summary public LoginServiceAuthenticateResponse() Method Summary AuthResponse getReturn() void setReturn(AuthResponse _return) Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors LoginServiceAuthenticateResponse public LoginServiceAuthenticateResponse() Methods getReturn public AuthResponse getReturn() Returns: returns AuthResponse ESM Service Layer: Core Services 2.0 Page 20
  • 21. setReturn public void setReturn(AuthResponse _return) Parameters: _return - the value for the _return property ESM Service Layer: Core Services 2.0 Page 21
  • 22. com.arcsight.product.core.service.v1.axis2.jaxws Class LoginServiceGetAuthenticationMethod java.lang.Object | +-com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceGetAuthenticationMethod public class LoginServiceGetAuthenticationMethod extends Object Constructor Summary public LoginServiceGetAuthenticationMethod() Method Summary String getAuthToken() void setAuthToken(String authToken) Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors LoginServiceGetAuthenticationMethod public LoginServiceGetAuthenticationMethod() Methods getAuthToken public String getAuthToken() Returns: returns String ESM Service Layer: Core Services 2.0 Page 22
  • 23. setAuthToken public void setAuthToken(String authToken) Parameters: authToken - the value for the authToken property ESM Service Layer: Core Services 2.0 Page 23
  • 24. com.arcsight.product.core.service.v1.axis2.jaxws Class LoginServiceGetAuthenticationMethodResponse java.lang.Object | +- com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceGetAuthenticationMethodRespon se public class LoginServiceGetAuthenticationMethodResponse extends Object Constructor Summary public LoginServiceGetAuthenticationMethodResponse() Method Summary AuthMethod getReturn() void setReturn(AuthMethod _return) Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors LoginServiceGetAuthenticationMethodResponse public LoginServiceGetAuthenticationMethodResponse() Methods getReturn public AuthMethod getReturn() Returns: returns AuthMethod ESM Service Layer: Core Services 2.0 Page 24
  • 25. setReturn public void setReturn(AuthMethod _return) Parameters: _return - the value for the _return property ESM Service Layer: Core Services 2.0 Page 25
  • 26. com.arcsight.product.core.service.v1.axis2.jaxws Class LoginServiceGetCurrentUser java.lang.Object | +-com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceGetCurrentUser public class LoginServiceGetCurrentUser extends Object Constructor Summary public LoginServiceGetCurrentUser() Method Summary String getAuthToken() void setAuthToken(String authToken) Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors LoginServiceGetCurrentUser public LoginServiceGetCurrentUser() Methods getAuthToken public String getAuthToken() Returns: returns String ESM Service Layer: Core Services 2.0 Page 26
  • 27. setAuthToken public void setAuthToken(String authToken) Parameters: authToken - the value for the authToken property ESM Service Layer: Core Services 2.0 Page 27
  • 28. com.arcsight.product.core.service.v1.axis2.jaxws Class LoginServiceGetCurrentUserResponse java.lang.Object | +-com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceGetCurrentUserResponse public class LoginServiceGetCurrentUserResponse extends Object Constructor Summary public LoginServiceGetCurrentUserResponse() Method Summary User getReturn() void setReturn(User _return) Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors LoginServiceGetCurrentUserResponse public LoginServiceGetCurrentUserResponse() Methods getReturn public User getReturn() Returns: returns User ESM Service Layer: Core Services 2.0 Page 28
  • 29. setReturn public void setReturn(User _return) Parameters: _return - the value for the _return property ESM Service Layer: Core Services 2.0 Page 29
  • 30. com.arcsight.product.core.service.v1.axis2.jaxws Class LoginServiceGetServiceMajorVersion java.lang.Object | +-com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceGetServiceMajorVersion public class LoginServiceGetServiceMajorVersion extends Object Constructor Summary public LoginServiceGetServiceMajorVersion() Method Summary String getAuthToken() void setAuthToken(String authToken) Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors LoginServiceGetServiceMajorVersion public LoginServiceGetServiceMajorVersion() Methods getAuthToken public String getAuthToken() Returns: returns String ESM Service Layer: Core Services 2.0 Page 30
  • 31. setAuthToken public void setAuthToken(String authToken) Parameters: authToken - the value for the authToken property ESM Service Layer: Core Services 2.0 Page 31
  • 32. com.arcsight.product.core.service.v1.axis2.jaxws Class LoginServiceGetServiceMajorVersionResponse java.lang.Object | +- com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceGetServiceMajorVersionRespons e public class LoginServiceGetServiceMajorVersionResponse extends Object Constructor Summary public LoginServiceGetServiceMajorVersionResponse() Method Summary int getReturn() void setReturn(int _return) Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors LoginServiceGetServiceMajorVersionResponse public LoginServiceGetServiceMajorVersionResponse() Methods getReturn public int getReturn() Returns: returns int ESM Service Layer: Core Services 2.0 Page 32
  • 33. setReturn public void setReturn(int _return) Parameters: _return - the value for the _return property ESM Service Layer: Core Services 2.0 Page 33
  • 34. com.arcsight.product.core.service.v1.axis2.jaxws Class LoginServiceGetServiceMinorVersion java.lang.Object | +-com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceGetServiceMinorVersion public class LoginServiceGetServiceMinorVersion extends Object Constructor Summary public LoginServiceGetServiceMinorVersion() Method Summary String getAuthToken() void setAuthToken(String authToken) Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors LoginServiceGetServiceMinorVersion public LoginServiceGetServiceMinorVersion() Methods getAuthToken public String getAuthToken() Returns: returns String ESM Service Layer: Core Services 2.0 Page 34
  • 35. setAuthToken public void setAuthToken(String authToken) Parameters: authToken - the value for the authToken property ESM Service Layer: Core Services 2.0 Page 35
  • 36. com.arcsight.product.core.service.v1.axis2.jaxws Class LoginServiceGetServiceMinorVersionResponse java.lang.Object | +- com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceGetServiceMinorVersionRespons e public class LoginServiceGetServiceMinorVersionResponse extends Object Constructor Summary public LoginServiceGetServiceMinorVersionResponse() Method Summary int getReturn() void setReturn(int _return) Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors LoginServiceGetServiceMinorVersionResponse public LoginServiceGetServiceMinorVersionResponse() Methods getReturn public int getReturn() Returns: returns int ESM Service Layer: Core Services 2.0 Page 36
  • 37. setReturn public void setReturn(int _return) Parameters: _return - the value for the _return property ESM Service Layer: Core Services 2.0 Page 37
  • 38. com.arcsight.product.core.service.v1.axis2.jaxws Class LoginServiceGetSession java.lang.Object | +-com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceGetSession public class LoginServiceGetSession extends Object Constructor Summary public LoginServiceGetSession() Method Summary String getAuthToken() void setAuthToken(String authToken) Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors LoginServiceGetSession public LoginServiceGetSession() Methods getAuthToken public String getAuthToken() Returns: returns String ESM Service Layer: Core Services 2.0 Page 38
  • 39. setAuthToken public void setAuthToken(String authToken) Parameters: authToken - the value for the authToken property ESM Service Layer: Core Services 2.0 Page 39
  • 40. com.arcsight.product.core.service.v1.axis2.jaxws Class LoginServiceGetSessionResponse java.lang.Object | +-com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceGetSessionResponse public class LoginServiceGetSessionResponse extends Object Constructor Summary public LoginServiceGetSessionResponse() Method Summary Session getReturn() void setReturn(Session _return) Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors LoginServiceGetSessionResponse public LoginServiceGetSessionResponse() Methods getReturn public Session getReturn() Returns: returns Session ESM Service Layer: Core Services 2.0 Page 40
  • 41. setReturn public void setReturn(Session _return) Parameters: _return - the value for the _return property ESM Service Layer: Core Services 2.0 Page 41
  • 42. com.arcsight.product.core.service.v1.axis2.jaxws Class LoginServiceIsCASAuth java.lang.Object | +-com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceIsCASAuth public class LoginServiceIsCASAuth extends Object Constructor Summary public LoginServiceIsCASAuth() Method Summary String getAuthToken() void setAuthToken(String authToken) Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors LoginServiceIsCASAuth public LoginServiceIsCASAuth() Methods getAuthToken public String getAuthToken() Returns: returns String ESM Service Layer: Core Services 2.0 Page 42
  • 43. setAuthToken public void setAuthToken(String authToken) Parameters: authToken - the value for the authToken property ESM Service Layer: Core Services 2.0 Page 43
  • 44. com.arcsight.product.core.service.v1.axis2.jaxws Class LoginServiceIsCASAuthResponse java.lang.Object | +-com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceIsCASAuthResponse public class LoginServiceIsCASAuthResponse extends Object Constructor Summary public LoginServiceIsCASAuthResponse() Method Summary boolean isReturn() void setReturn(boolean _return) Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors LoginServiceIsCASAuthResponse public LoginServiceIsCASAuthResponse() Methods isReturn public boolean isReturn() Returns: returns boolean ESM Service Layer: Core Services 2.0 Page 44
  • 45. setReturn public void setReturn(boolean _return) Parameters: _return - the value for the _return property ESM Service Layer: Core Services 2.0 Page 45
  • 46. com.arcsight.product.core.service.v1.axis2.jaxws Class LoginServiceLogin java.lang.Object | +-com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceLogin public class LoginServiceLogin extends Object Constructor Summary public LoginServiceLogin() Method Summary String getAuthToken() String getLogin() String getPassword() void setAuthToken(String authToken) void setLogin(String login) void setPassword(String password) Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors LoginServiceLogin public LoginServiceLogin() Methods ESM Service Layer: Core Services 2.0 Page 46
  • 47. getAuthToken public String getAuthToken() Returns: returns String setAuthToken public void setAuthToken(String authToken) Parameters: authToken - the value for the authToken property getLogin public String getLogin() Returns: returns String setLogin public void setLogin(String login) Parameters: login - the value for the login property getPassword public String getPassword() Returns: returns String setPassword public void setPassword(String password) Parameters: password - the value for the password property ESM Service Layer: Core Services 2.0 Page 47
  • 48. com.arcsight.product.core.service.v1.axis2.jaxws Class LoginServiceLoginForOneTimeUse java.lang.Object | +-com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceLoginForOneTimeUse public class LoginServiceLoginForOneTimeUse extends Object Constructor Summary public LoginServiceLoginForOneTimeUse() Method Summary String getAuthToken() String getLogin() String getPassword() void setAuthToken(String authToken) void setLogin(String login) void setPassword(String password) Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors LoginServiceLoginForOneTimeUse public LoginServiceLoginForOneTimeUse() Methods ESM Service Layer: Core Services 2.0 Page 48
  • 49. getAuthToken public String getAuthToken() Returns: returns String setAuthToken public void setAuthToken(String authToken) Parameters: authToken - the value for the authToken property getLogin public String getLogin() Returns: returns String setLogin public void setLogin(String login) Parameters: login - the value for the login property getPassword public String getPassword() Returns: returns String setPassword public void setPassword(String password) Parameters: password - the value for the password property ESM Service Layer: Core Services 2.0 Page 49
  • 50. com.arcsight.product.core.service.v1.axis2.jaxws Class LoginServiceLoginForOneTimeUseResponse java.lang.Object | +- com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceLoginForOneTimeUseResponse public class LoginServiceLoginForOneTimeUseResponse extends Object Constructor Summary public LoginServiceLoginForOneTimeUseResponse() Method Summary String getReturn() void setReturn(String _return) Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors LoginServiceLoginForOneTimeUseResponse public LoginServiceLoginForOneTimeUseResponse() Methods getReturn public String getReturn() Returns: returns String ESM Service Layer: Core Services 2.0 Page 50
  • 51. setReturn public void setReturn(String _return) Parameters: _return - the value for the _return property ESM Service Layer: Core Services 2.0 Page 51
  • 52. com.arcsight.product.core.service.v1.axis2.jaxws Class LoginServiceLoginResponse java.lang.Object | +-com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceLoginResponse public class LoginServiceLoginResponse extends Object Constructor Summary public LoginServiceLoginResponse() Method Summary String getReturn() void setReturn(String _return) Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors LoginServiceLoginResponse public LoginServiceLoginResponse() Methods getReturn public String getReturn() Returns: returns String ESM Service Layer: Core Services 2.0 Page 52
  • 53. setReturn public void setReturn(String _return) Parameters: _return - the value for the _return property ESM Service Layer: Core Services 2.0 Page 53
  • 54. com.arcsight.product.core.service.v1.axis2.jaxws Class LoginServiceLogout java.lang.Object | +-com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceLogout public class LoginServiceLogout extends Object Constructor Summary public LoginServiceLogout() Method Summary String getAuthToken() void setAuthToken(String authToken) Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors LoginServiceLogout public LoginServiceLogout() Methods getAuthToken public String getAuthToken() Returns: returns String ESM Service Layer: Core Services 2.0 Page 54
  • 55. setAuthToken public void setAuthToken(String authToken) Parameters: authToken - the value for the authToken property ESM Service Layer: Core Services 2.0 Page 55
  • 56. com.arcsight.product.core.service.v1.axis2.jaxws Class LoginServiceLogoutResponse java.lang.Object | +-com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceLogoutResponse public class LoginServiceLogoutResponse extends Object Constructor Summary public LoginServiceLogoutResponse() Method Summary Void getReturn() void setReturn(Void _return) Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors LoginServiceLogoutResponse public LoginServiceLogoutResponse() Methods getReturn public Void getReturn() Returns: returns Void ESM Service Layer: Core Services 2.0 Page 56
  • 57. setReturn public void setReturn(Void _return) Parameters: _return - the value for the _return property ESM Service Layer: Core Services 2.0 Page 57
  • 58. com.arcsight.product.core.service.v1.axis2.jaxws Class LoginServiceResetPassword java.lang.Object | +-com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceResetPassword public class LoginServiceResetPassword extends Object Constructor Summary public LoginServiceResetPassword() Method Summary String getAuthToken() String getLogin() void setAuthToken(String authToken) void setLogin(String login) Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors LoginServiceResetPassword public LoginServiceResetPassword() Methods getAuthToken public String getAuthToken() Returns: ESM Service Layer: Core Services 2.0 Page 58
  • 59. returns String setAuthToken public void setAuthToken(String authToken) Parameters: authToken - the value for the authToken property getLogin public String getLogin() Returns: returns String setLogin public void setLogin(String login) Parameters: login - the value for the login property ESM Service Layer: Core Services 2.0 Page 59
  • 60. com.arcsight.product.core.service.v1.axis2.jaxws Class LoginServiceResetPasswordResponse java.lang.Object | +-com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceResetPasswordResponse public class LoginServiceResetPasswordResponse extends Object Constructor Summary public LoginServiceResetPasswordResponse() Method Summary Void getReturn() void setReturn(Void _return) Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors LoginServiceResetPasswordResponse public LoginServiceResetPasswordResponse() Methods getReturn public Void getReturn() Returns: returns Void ESM Service Layer: Core Services 2.0 Page 60
  • 61. setReturn public void setReturn(Void _return) Parameters: _return - the value for the _return property ESM Service Layer: Core Services 2.0 Page 61
  • 62. com.arcsight.product.core.service.v1.axis2.jaxws Class LoginServiceSendAuthChallengeResponse java.lang.Object | +- com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceSendAuthChallengeResponse public class LoginServiceSendAuthChallengeResponse extends Object Constructor Summary public LoginServiceSendAuthChallengeResponse() Method Summary String getAuthToken() int getChallengeId() String getResp() void setAuthToken(String authToken) void setChallengeId(int challengeId) void setResp(String resp) Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors LoginServiceSendAuthChallengeResponse public LoginServiceSendAuthChallengeResponse() Methods ESM Service Layer: Core Services 2.0 Page 62
  • 63. getAuthToken public String getAuthToken() Returns: returns String setAuthToken public void setAuthToken(String authToken) Parameters: authToken - the value for the authToken property getChallengeId public int getChallengeId() Returns: returns int setChallengeId public void setChallengeId(int challengeId) Parameters: challengeId - the value for the challengeId property getResp public String getResp() Returns: returns String setResp public void setResp(String resp) Parameters: resp - the value for the resp property ESM Service Layer: Core Services 2.0 Page 63
  • 64. com.arcsight.product.core.service.v1.axis2.jaxws Class LoginServiceSendAuthChallengeResponseResponse java.lang.Object | +- com.arcsight.product.core.service.v1.axis2.jaxws.LoginServiceSendAuthChallengeResponseResp onse public class LoginServiceSendAuthChallengeResponseResponse extends Object Constructor Summary public LoginServiceSendAuthChallengeResponseResponse() Method Summary AuthResponse getReturn() void setReturn(AuthResponse _return) Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors LoginServiceSendAuthChallengeResponseResponse public LoginServiceSendAuthChallengeResponseResponse() Methods getReturn public AuthResponse getReturn() Returns: returns AuthResponse ESM Service Layer: Core Services 2.0 Page 64
  • 65. setReturn public void setReturn(AuthResponse _return) Parameters: _return - the value for the _return property ESM Service Layer: Core Services 2.0 Page 65
  • 66. com.arcsight.product.core.service.v1.axis2.jaxws Class ModelLoader java.lang.Object | +-com.arcsight.product.core.service.v1.axis2.jaxws.ModelLoader public final class ModelLoader extends Object Constructor Summary public ModelLoader() Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors ModelLoader public ModelLoader() ESM Service Layer: Core Services 2.0 Page 66
  • 67. com.arcsight.product.core.service.v1.axis2.jaxws Class ObjectFactory java.lang.Object | +-com.arcsight.product.core.service.v1.axis2.jaxws.ObjectFactory public final class ObjectFactory extends Object Constructor Summary public ObjectFactory() Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors ObjectFactory public ObjectFactory() ESM Service Layer: Core Services 2.0 Page 67
  • 68. com.arcsight.product.core.service.v1.axis2.jaxws Class ServiceExceptionBean java.lang.Object | +-com.arcsight.product.core.service.v1.axis2.jaxws.ServiceExceptionBean public class ServiceExceptionBean extends Object This class was generated by the JAX-WS RI. JAX-WS RI 2.1.5-b03- Generated source version: 2.1.5 Constructor Summary public ServiceExceptionBean() Method Summary int getErrorCode() String getMessage() void setErrorCode(int errorCode) void setMessage(String message) Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors ServiceExceptionBean public ServiceExceptionBean() Methods getErrorCode public int getErrorCode() ESM Service Layer: Core Services 2.0 Page 68
  • 69. Returns: returns int setErrorCode public void setErrorCode(int errorCode) Parameters: errorCode - the value for the errorCode property getMessage public String getMessage() Returns: returns String setMessage public void setMessage(String message) Parameters: message - the value for the message property ESM Service Layer: Core Services 2.0 Page 69
  • 71. com.arcsight.product.core.service.v1.model Class AuthContext java.lang.Object | +-com.arcsight.product.core.service.v1.model.AuthContext public class AuthContext extends Object Constructor Summary public AuthContext() Constructor Method Summary Boolean getFallback() Tests whether this authContext is fallen back or not. void setFallback(Boolean fallback) Sets whether this authContext is fallen back. Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors AuthContext public AuthContext() Constructor Methods getFallback public Boolean getFallback() Tests whether this authContext is fallen back or not. Returns: True if this authContext is fallen back. ESM Service Layer: Core Services 2.0 Page 71
  • 72. setFallback public void setFallback(Boolean fallback) Sets whether this authContext is fallen back. Parameters: fallback - If true, this authContext is fallen back. ESM Service Layer: Core Services 2.0 Page 72
  • 73. com.arcsight.product.core.service.v1.model Class AuthMethod java.lang.Object | +-com.arcsight.product.core.service.v1.model.AuthMethod public class AuthMethod extends Object Description of authentication method. Available methods are provided to the user, so that he/she could decide which method to use to connect to the server. JSON prototype Field Summary public static final BUILTIN public static final PKI public static final PKI_AND_LOCAL_PASSWORD public static final PKI_WITH_PASSWORD_BACKUP public static final RADIUS public static final RADIUS_WITH_PASSWORD_BACKUP Constructor Summary public AuthMethod() Constructor public AuthMethod(boolean localPassword, boolean externalUserId) Method Summary boolean isExternalUserId() Tests whether this authMethod has external user Id. boolean isLocalPassword() Tests whether this AuthMethod has local password. void setExternalUserId(boolean externalUserId) Sets whether this authMethod has external user Id. ESM Service Layer: Core Services 2.0 Page 73
  • 74. void setLocalPassword(boolean localPassword) Sets whether this AuthMethod has local password. Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Fields BUILTIN public static final com.arcsight.product.core.service.v1.model.AuthMethod BUILTIN PKI public static final com.arcsight.product.core.service.v1.model.AuthMethod PKI RADIUS public static final com.arcsight.product.core.service.v1.model.AuthMethod RADIUS PKI_AND_LOCAL_PASSWORD public static final com.arcsight.product.core.service.v1.model.AuthMethod PKI_AND_LOCAL_PASSWORD PKI_WITH_PASSWORD_BACKUP public static final com.arcsight.product.core.service.v1.model.AuthMethod PKI_WITH_PASSWORD_BACKUP RADIUS_WITH_PASSWORD_BACKUP public static final com.arcsight.product.core.service.v1.model.AuthMethod RADIUS_WITH_PASSWORD_BACKUP Constructors ESM Service Layer: Core Services 2.0 Page 74
  • 75. AuthMethod public AuthMethod() Constructor AuthMethod public AuthMethod(boolean localPassword, boolean externalUserId) Methods isLocalPassword public boolean isLocalPassword() Tests whether this AuthMethod has local password. Returns: True if this AuthMethod has local password. setLocalPassword public void setLocalPassword(boolean localPassword) Sets whether this AuthMethod has local password. Parameters: localPassword - the localPassword to set isExternalUserId public boolean isExternalUserId() Tests whether this authMethod has external user Id. Returns: True if this authMethod has external user Id. setExternalUserId public void setExternalUserId(boolean externalUserId) Sets whether this authMethod has external user Id. Parameters: externalUserId - IF true, this authMethod has external user Id. ESM Service Layer: Core Services 2.0 Page 75
  • 76. com.arcsight.product.core.service.v1.model Class AuthResponse java.lang.Object | +-com.arcsight.product.core.service.v1.model.AuthResponse public class AuthResponse extends Object Constructor Summary public AuthResponse() Constructor public AuthResponse(String authToken) Constructor Method Summary String getAuthToken() Gets the string value of authToken. User getUser() Returns the user being authenticated. boolean isPasswordChangeRequired() Gets whether or not the user must change their password. boolean isPasswordExpiring() Notifies user that password is expiring soon. void setAuthToken(String authToken) Sets the string value of authToken. void setPasswordExpiring(boolean passwordExpiring) Sets whether password is expiring soon. void setUser(User user) Sets the user being authenticated. Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors ESM Service Layer: Core Services 2.0 Page 76
  • 77. AuthResponse public AuthResponse() Constructor AuthResponse public AuthResponse(String authToken) Constructor Parameters: authToken - The string value of authToken. Methods getAuthToken public String getAuthToken() Gets the string value of authToken. Returns: The string value of authToken. setAuthToken public void setAuthToken(String authToken) Sets the string value of authToken. Parameters: authToken - the string value authToken to set getUser public User getUser() Returns the user being authenticated. Returns: User being authenticated. setUser public void setUser(User user) Sets the user being authenticated. Parameters: user - The user being authenticated. ESM Service Layer: Core Services 2.0 Page 77
  • 78. isPasswordExpiring public boolean isPasswordExpiring() Notifies user that password is expiring soon. Returns: True if password is expiring soon. setPasswordExpiring public void setPasswordExpiring(boolean passwordExpiring) Sets whether password is expiring soon. Parameters: passwordExpiring - If true, password is expiring soon. isPasswordChangeRequired public boolean isPasswordChangeRequired() Gets whether or not the user must change their password. Returns: True if the user must change their password. ESM Service Layer: Core Services 2.0 Page 78
  • 79. com.arcsight.product.core.service.v1.model Class Credential java.lang.Object | +-com.arcsight.product.core.service.v1.model.Credential public class Credential extends Object Direct Known Subclasses: PasswordCredential Constructor Summary public Credential() Method Summary String getUserName() void setUserName(String userName) Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors Credential public Credential() Methods getUserName public String getUserName() Returns: the userName ESM Service Layer: Core Services 2.0 Page 79
  • 80. setUserName public void setUserName(String userName) Parameters: userName - the userName to set ESM Service Layer: Core Services 2.0 Page 80
  • 81. com.arcsight.product.core.service.v1.model Class Group java.lang.Object | +-com.arcsight.product.core.service.v1.model.Group public class Group extends Object Description of a Group of Users. JSON prototype Constructor Summary public Group() Method Summary String getDescription() long getId() boolean getIsDefault() String getName() Long[] getRightIds() GroupType getType() Long[] getUserIds() void setDescription(String description) void setId(long id) void setIsDefault(boolean isDefault) void setName(String name) void setRightIds(Long[] rightIds) ESM Service Layer: Core Services 2.0 Page 81
  • 82. void setType(GroupType type) void setUserIds(Long[] userIds) Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors Group public Group() Methods getId public long getId() getRightIds public Long[] getRightIds() setRightIds public void setRightIds(Long[] rightIds) getUserIds public Long[] getUserIds() setUserIds public void setUserIds(Long[] userIds) ESM Service Layer: Core Services 2.0 Page 82
  • 83. setId public void setId(long id) getType public GroupType getType() setType public void setType(GroupType type) getName public String getName() setName public void setName(String name) getDescription public String getDescription() setDescription public void setDescription(String description) getIsDefault public boolean getIsDefault() setIsDefault public void setIsDefault(boolean isDefault) ESM Service Layer: Core Services 2.0 Page 83
  • 84. com.arcsight.product.core.service.v1.model Class GroupType java.lang.Object | +-java.lang.Enum | +-com.arcsight.product.core.service.v1.model.GroupType public final class GroupType extends Enum Different types of groups that can be created. All Implemented Interfaces: Serializable, Comparable Field Summary public static final CONAPP_RIGHTS public static final LOGGER_REPORT public static final LOGGER_RIGHTS public static final LOGGER_SEARCH public static final SYSTEM_ADMIN Method Summary String getDbName() static GroupType valueOf(String name) static GroupType[] values() Methods inherited from class java.lang.Enum compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Methods inherited from interface java.lang.Comparable ESM Service Layer: Core Services 2.0 Page 84
  • 85. compareTo Fields SYSTEM_ADMIN public static final com.arcsight.product.core.service.v1.model.GroupType SYSTEM_ADMIN LOGGER_RIGHTS public static final com.arcsight.product.core.service.v1.model.GroupType LOGGER_RIGHTS LOGGER_REPORT public static final com.arcsight.product.core.service.v1.model.GroupType LOGGER_REPORT LOGGER_SEARCH public static final com.arcsight.product.core.service.v1.model.GroupType LOGGER_SEARCH CONAPP_RIGHTS public static final com.arcsight.product.core.service.v1.model.GroupType CONAPP_RIGHTS Methods values public static GroupType[] values() valueOf public static GroupType valueOf(String name) ESM Service Layer: Core Services 2.0 Page 85
  • 86. getDbName public String getDbName() ESM Service Layer: Core Services 2.0 Page 86
  • 87. com.arcsight.product.core.service.v1.model Class LoginCookieType java.lang.Object | +-java.lang.Enum | +-com.arcsight.product.core.service.v1.model.LoginCookieType public final class LoginCookieType extends Enum All Implemented Interfaces: Serializable, Comparable Field Summary public static final ESM public static final PLATFORM Method Summary static LoginCookieType valueOf(String name) static LoginCookieType[] values() Methods inherited from class java.lang.Enum compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Methods inherited from interface java.lang.Comparable compareTo Fields ESM public static final com.arcsight.product.core.service.v1.model.LoginCookieType ESM ESM Service Layer: Core Services 2.0 Page 87
  • 88. PLATFORM public static final com.arcsight.product.core.service.v1.model.LoginCookieType PLATFORM Methods values public static LoginCookieType[] values() valueOf public static LoginCookieType valueOf(String name) ESM Service Layer: Core Services 2.0 Page 88
  • 89. com.arcsight.product.core.service.v1.model Class PasswordComplexityRequirement java.lang.Object | +-java.lang.Enum | +-com.arcsight.product.core.service.v1.model.PasswordComplexityRequirement public final class PasswordComplexityRequirement extends Enum Different types of complexity requirements that may be imposed when a user is changing their password. All Implemented Interfaces: Serializable, Comparable Field Summary public static final MAXIMUM_LENGTH ... public static final MINIMUM_DIFFERENCE ... public static final MINIMUM_LENGTH is the password at least a minimum length ... public static final MINIMUM_LOWER_CASE ... public static final MINIMUM_NUMERIC ... public static final MINIMUM_SPECIAL_CHARACTERS ... public static final MINIMUM_UPPER_CASE ... Method Summary static PasswordComplexityReq uirement valueOf(String name) static PasswordComplexityReq uirement[] values() Methods inherited from class java.lang.Enum compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf ESM Service Layer: Core Services 2.0 Page 89
  • 90. Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Methods inherited from interface java.lang.Comparable compareTo Fields MINIMUM_LENGTH public static final com.arcsight.product.core.service.v1.model.PasswordComplexityRequirement MINIMUM_LENGTH is the password at least a minimum length ... MAXIMUM_LENGTH public static final com.arcsight.product.core.service.v1.model.PasswordComplexityRequirement MAXIMUM_LENGTH ... at most a maximum length ... MINIMUM_NUMERIC public static final com.arcsight.product.core.service.v1.model.PasswordComplexityRequirement MINIMUM_NUMERIC ... have a minimum number of numeric characters ... MINIMUM_UPPER_CASE public static final com.arcsight.product.core.service.v1.model.PasswordComplexityRequirement MINIMUM_UPPER_CASE ... have a minimum number of upper-case characters ... MINIMUM_LOWER_CASE public static final com.arcsight.product.core.service.v1.model.PasswordComplexityRequirement MINIMUM_LOWER_CASE ... have a minimum number of lower-case characters ... MINIMUM_SPECIAL_CHARACTERS public static final com.arcsight.product.core.service.v1.model.PasswordComplexityRequirement MINIMUM_SPECIAL_CHARACTERS ESM Service Layer: Core Services 2.0 Page 90
  • 91. ... have a minimum number of special characters ... MINIMUM_DIFFERENCE public static final com.arcsight.product.core.service.v1.model.PasswordComplexityRequirement MINIMUM_DIFFERENCE ... at least a certain number of characters different from the old password Methods values public static PasswordComplexityRequirement[] values() valueOf public static PasswordComplexityRequirement valueOf(String name) ESM Service Layer: Core Services 2.0 Page 91
  • 92. com.arcsight.product.core.service.v1.model Class PasswordCredential java.lang.Object | +-com.arcsight.product.core.service.v1.model.Credential | +-com.arcsight.product.core.service.v1.model.PasswordCredential public class PasswordCredential extends Credential Constructor Summary public PasswordCredential() Constructor. public PasswordCredential(String userName, String password) Constructor. Method Summary String getPassword() Gets the password of the login user. void setPassword(String password) Sets the password for the login user. Methods inherited from class com.arcsight.product.core.service.v1.model.Credential getUserName, setUserName Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors PasswordCredential public PasswordCredential() Constructor. ESM Service Layer: Core Services 2.0 Page 92
  • 93. PasswordCredential public PasswordCredential(String userName, String password) Constructor. Parameters: userName - The login name of the login user. password - The password of the login user. Methods getPassword public String getPassword() Gets the password of the login user. Returns: the password setPassword public void setPassword(String password) Sets the password for the login user. Parameters: password - The password to set. ESM Service Layer: Core Services 2.0 Page 93
  • 94. com.arcsight.product.core.service.v1.model Class PasswordRequirement java.lang.Object | +-com.arcsight.product.core.service.v1.model.PasswordRequirement public class PasswordRequirement extends Object Requirements for new passwords. JSON prototype Constructor Summary public PasswordRequirement() Method Summary PasswordComplexityReq uirement getRequirement() Integer getValue() void setRequirement(PasswordComplexityRequirement requirement) void setValue(Integer value) Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors PasswordRequirement public PasswordRequirement() Methods getRequirement public PasswordComplexityRequirement getRequirement() ESM Service Layer: Core Services 2.0 Page 94
  • 95. setRequirement public void setRequirement(PasswordComplexityRequirement requirement) getValue public Integer getValue() setValue public void setValue(Integer value) ESM Service Layer: Core Services 2.0 Page 95
  • 96. com.arcsight.product.core.service.v1.model Class Right java.lang.Object | +-com.arcsight.product.core.service.v1.model.Right public class Right extends Object DESCRIBE ME JSON prototype Constructor Summary public Right() Method Summary String getCategory() String getDescription() long getId() String getModule() String getName() String getType() void setCategory(String category) void setDescription(String description) void setId(long id) void setModule(String module) void setName(String name) void setType(String type) Methods inherited from class java.lang.Object ESM Service Layer: Core Services 2.0 Page 96
  • 97. equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors Right public Right() Methods getId public long getId() setId public void setId(long id) getType public String getType() setType public void setType(String type) getModule public String getModule() setModule public void setModule(String module) ESM Service Layer: Core Services 2.0 Page 97
  • 98. getName public String getName() setName public void setName(String name) getDescription public String getDescription() setDescription public void setDescription(String description) getCategory public String getCategory() setCategory public void setCategory(String category) ESM Service Layer: Core Services 2.0 Page 98
  • 99. com.arcsight.product.core.service.v1.model Class ScheduledWorkPeriod java.lang.Object | +-com.arcsight.product.core.service.v1.model.ScheduledWorkPeriod public class ScheduledWorkPeriod extends Object Description of scheduled work period. JSON prototype Constructor Summary public ScheduledWorkPeriod() Method Summary Workday getDayOfWeek() Get the dayOfWeek. Time getEndTime() Get the endTime. Long getId() Get the id. Time getStartTime() Get the startTime. void setDayOfWeek(Workday dayOfWeek) Set the dayOfWeek. void setEndTime(Time endTime) Set the endTime. void setId(Long id) Set the id. void setStartTime(Time startTime) Set the startTime. String toString() Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait ESM Service Layer: Core Services 2.0 Page 99
  • 100. Constructors ScheduledWorkPeriod public ScheduledWorkPeriod() Methods getId public Long getId() Get the id. Returns: the id setId public void setId(Long id) Set the id. Parameters: id - the id to set getDayOfWeek public Workday getDayOfWeek() Get the dayOfWeek. Returns: the dayOfWeek setDayOfWeek public void setDayOfWeek(Workday dayOfWeek) Set the dayOfWeek. Parameters: dayOfWeek - the dayOfWeek to set getStartTime public Time getStartTime() Get the startTime. ESM Service Layer: Core Services 2.0 Page 100
  • 101. Returns: the startTime setStartTime public void setStartTime(Time startTime) Set the startTime. Parameters: startTime - the startTime to set getEndTime public Time getEndTime() Get the endTime. Returns: the endTime setEndTime public void setEndTime(Time endTime) Set the endTime. Parameters: endTime - the endTime to set toString public String toString() ESM Service Layer: Core Services 2.0 Page 101
  • 102. com.arcsight.product.core.service.v1.model Class Session java.lang.Object | +-com.arcsight.product.core.service.v1.model.Session public class Session extends Object DESCRIBE ME JSON prototype Constructor Summary public Session() Method Summary String getAuthToken() Gets the string value of authToken. long getCreationMillis() Gets the long value of creation time in millisecond of this session. long getExpirationMillis() Gets the long value of expiration time in millisecond of this session. long getUserId() Gets the ID of the login user in this session. void setAuthToken(String authToken) Sets the string value of authToken. void setCreationMillis(long creationMillis) Sets the long value of creation time in millisecond of this session. void setExpirationMillis(long expirationMillis) Sets the long value of expiration time in millisecond of this session. void setUserId(long userId) Sets the ID of the login user in this session. Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait ESM Service Layer: Core Services 2.0 Page 102
  • 103. Constructors Session public Session() Methods getAuthToken public String getAuthToken() Gets the string value of authToken. Returns: The string value of authToken. setAuthToken public void setAuthToken(String authToken) Sets the string value of authToken. Parameters: authToken - The string value of authToken. getUserId public long getUserId() Gets the ID of the login user in this session. Returns: The ID of the login user. setUserId public void setUserId(long userId) Sets the ID of the login user in this session. Parameters: userId - The ID of login user. getCreationMillis public long getCreationMillis() Gets the long value of creation time in millisecond of this session. Returns: ESM Service Layer: Core Services 2.0 Page 103
  • 104. The long value of creation time in millisecond of this session. setCreationMillis public void setCreationMillis(long creationMillis) Sets the long value of creation time in millisecond of this session. Parameters: creationMillis - The long value of creation time in millisecond of this session. getExpirationMillis public long getExpirationMillis() Gets the long value of expiration time in millisecond of this session. Returns: The long value of expiration time in millisecond of this session. setExpirationMillis public void setExpirationMillis(long expirationMillis) Sets the long value of expiration time in millisecond of this session. Parameters: expirationMillis - The long value of expiration time in millisecond of this session. ESM Service Layer: Core Services 2.0 Page 104
  • 105. com.arcsight.product.core.service.v1.model Class Time java.lang.Object | +-com.arcsight.product.core.service.v1.model.Time public class Time extends Object DESCRIBE ME JSON prototype Constructor Summary public Time() Method Summary int getHour() Get the hour. int getMinutes() Get the minutes. void setHour(int hour) Set the hour. void setMinutes(int minutes) Set the minutes. Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors Time public Time() Methods ESM Service Layer: Core Services 2.0 Page 105
  • 106. getHour public int getHour() Get the hour. Returns: the hour setHour public void setHour(int hour) Set the hour. Parameters: hour - the hour to set getMinutes public int getMinutes() Get the minutes. Returns: the minutes setMinutes public void setMinutes(int minutes) Set the minutes. Parameters: minutes - the minutes to set ESM Service Layer: Core Services 2.0 Page 106
  • 107. com.arcsight.product.core.service.v1.model Class User java.lang.Object | +-com.arcsight.product.core.service.v1.model.User public class User extends Object DESCRIBE ME JSON prototype Constructor Summary public User() Constructor Method Summary String getDepartment() Gets the department of this user. String getEmail() Gets the email of this user. String getExternalLoginId() Get the external login Id of this user. String getFax() Gets the fax information of this user. String getFirstName() Gets the first name of this user. String[] getGroupIds() Gets the IDs of the groups which this user is/was in. Long getId() Gets the ID of this user. Boolean getIsActive() Tests whether this user is active. boolean getIsDefault() String getLastName() Gets the last name of this user. ESM Service Layer: Core Services 2.0 Page 107
  • 108. String getLogin() Gets the login name of this user. boolean getMustChangePassword() Tests whether the password is required to change. String getNotes() Gets the notes of this user. String getPagerNumber() Gets the pager number of this user. String getPassword() Gets the password of this user. String getPhone() Gets the phone number of this user. List getScheduledWorkPeriods() Gets the list of scheduled work periods for this user. String getTitle() Gets the title of this user. boolean isLocked() Tests whether this user is locked. void setDepartment(String department) Sets the department of this user. void setEmail(String email) Sets the email of this user. void setExternalLoginId(String externalLoginId) Set the external login Id of this user. void setFax(String fax) Sets the fax information of this user. void setFirstName(String firstName) Sets the first name of this user. void setGroupIds(String[] groupIds) Sets the ID of the group which this user is in. void setId(Long id) Sets the ID of this user. void setIsActive(Boolean isActive) Sets whether this user is active. void setIsDefault(boolean isDefault) void setLastName(String lastName) Sets the last name of this user. ESM Service Layer: Core Services 2.0 Page 108
  • 109. void setLocked(boolean locked) Sets whether this user is locked. void setLogin(String login) Sets the login name of this user. void setMustChangePassword(boolean mustChangePassword) Sets whether the password is required to change. void setNotes(String notes) Sets the notes of this user. void setPagerNumber(String pagerNumber) Sets the pager number of this user. void setPassword(String password) Sets the password of this user. void setPhone(String phone) Sets the phone number of this user. void setScheduledWorkPeriods(List scheduledWorkPeriods) Set the list of scheduled work periods. void setTitle(String title) Sets the title of this user. Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors User public User() Constructor Methods getId public Long getId() Gets the ID of this user. Returns: ID of this user. ESM Service Layer: Core Services 2.0 Page 109
  • 110. setId public void setId(Long id) Sets the ID of this user. Parameters: ID - of this user. id getGroupIds public String[] getGroupIds() Gets the IDs of the groups which this user is/was in. Returns: IDs of the groups which this user is/was in. setGroupIds public void setGroupIds(String[] groupIds) Sets the ID of the group which this user is in. Parameters: groupIds - ID of the group which this user is in. getLogin public String getLogin() Gets the login name of this user. Returns: The login name of this user. setLogin public void setLogin(String login) Sets the login name of this user. Parameters: login - The login name of this user. getFirstName public String getFirstName() Gets the first name of this user. Returns: The first name of this user. ESM Service Layer: Core Services 2.0 Page 110
  • 111. setFirstName public void setFirstName(String firstName) Sets the first name of this user. Parameters: firstName - The first name of this user. getLastName public String getLastName() Gets the last name of this user. Returns: The last name of this user. setLastName public void setLastName(String lastName) Sets the last name of this user. Parameters: lastName - The last name of this user. getEmail public String getEmail() Gets the email of this user. Returns: The email of this user. setEmail public void setEmail(String email) Sets the email of this user. Parameters: email - The email of this user. setPassword public void setPassword(String password) Sets the password of this user. Parameters: password - The password of this user. ESM Service Layer: Core Services 2.0 Page 111
  • 112. getIsActive public Boolean getIsActive() Tests whether this user is active. Returns: True if this user is active. setIsActive public void setIsActive(Boolean isActive) Sets whether this user is active. Parameters: isActive - If true, this user is active. getPhone public String getPhone() Gets the phone number of this user. Returns: The phone number of this user. setPhone public void setPhone(String phone) Sets the phone number of this user. Parameters: phone - The phone number of this user. getIsDefault public boolean getIsDefault() setIsDefault public void setIsDefault(boolean isDefault) getPassword public String getPassword() Gets the password of this user. NOTE: for API - business layer mapping only; not expected to be used by clients. ESM Service Layer: Core Services 2.0 Page 112
  • 113. Returns: The password of this user. getExternalLoginId public String getExternalLoginId() Get the external login Id of this user. Returns: The external login Id of this user. setExternalLoginId public void setExternalLoginId(String externalLoginId) Set the external login Id of this user. Parameters: externalLoginId - The external login Id to set for this user. getMustChangePassword public boolean getMustChangePassword() Tests whether the password is required to change. Returns: True if the password is required to change. setMustChangePassword public void setMustChangePassword(boolean mustChangePassword) Sets whether the password is required to change. Parameters: mustChangePassword - If true, the password is required to change. getScheduledWorkPeriods public List getScheduledWorkPeriods() Gets the list of scheduled work periods for this user. Returns: The list of scheduled work periods. setScheduledWorkPeriods public void setScheduledWorkPeriods(List scheduledWorkPeriods) Set the list of scheduled work periods. ESM Service Layer: Core Services 2.0 Page 113
  • 114. Parameters: scheduledWorkPeriods - The list of scheduled work periods to set getTitle public String getTitle() Gets the title of this user. Returns: The title of this user. setTitle public void setTitle(String title) Sets the title of this user. Parameters: title - The title of this user. getDepartment public String getDepartment() Gets the department of this user. Returns: The department of this user. setDepartment public void setDepartment(String department) Sets the department of this user. Parameters: department - The department of this user. getFax public String getFax() Gets the fax information of this user. Returns: The fax information of this user. setFax public void setFax(String fax) Sets the fax information of this user. ESM Service Layer: Core Services 2.0 Page 114
  • 115. Parameters: fax - The fax information of this user. getPagerNumber public String getPagerNumber() Gets the pager number of this user. Returns: The pager number of this user. setPagerNumber public void setPagerNumber(String pagerNumber) Sets the pager number of this user. Parameters: pagerNumber - The pager number of this user. getNotes public String getNotes() Gets the notes of this user. Returns: The notes of this user. setNotes public void setNotes(String notes) Sets the notes of this user. Parameters: notes - The notes of this user. isLocked public boolean isLocked() Tests whether this user is locked. Returns: True if this user is locked. setLocked public void setLocked(boolean locked) Sets whether this user is locked. ESM Service Layer: Core Services 2.0 Page 115
  • 116. Parameters: locked - If true, this user is locked. ESM Service Layer: Core Services 2.0 Page 116
  • 117. com.arcsight.product.core.service.v1.model Class Workday java.lang.Object | +-java.lang.Enum | +-com.arcsight.product.core.service.v1.model.Workday public final class Workday extends Enum All Implemented Interfaces: Serializable, Comparable Field Summary public static final Friday public static final Monday public static final Saturday public static final Sunday public static final Thursday public static final Tuesday public static final Wednesday Method Summary static Workday valueOf(String name) static Workday[] values() Methods inherited from class java.lang.Enum compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Methods inherited from interface java.lang.Comparable ESM Service Layer: Core Services 2.0 Page 117
  • 118. compareTo Fields Sunday public static final com.arcsight.product.core.service.v1.model.Workday Sunday Monday public static final com.arcsight.product.core.service.v1.model.Workday Monday Tuesday public static final com.arcsight.product.core.service.v1.model.Workday Tuesday Wednesday public static final com.arcsight.product.core.service.v1.model.Workday Wednesday Thursday public static final com.arcsight.product.core.service.v1.model.Workday Thursday Friday public static final com.arcsight.product.core.service.v1.model.Workday Friday Saturday public static final com.arcsight.product.core.service.v1.model.Workday Saturday Methods ESM Service Layer: Core Services 2.0 Page 118
  • 119. values public static Workday[] values() valueOf public static Workday valueOf(String name) ESM Service Layer: Core Services 2.0 Page 119
  • 121. com.arcsight.product.core.service.v1.model.jaxb Class HashMapOfRightListResponse java.lang.Object | +-<any> | +-com.arcsight.product.core.service.v1.model.jaxb.HashMapOfRightListResponse public class HashMapOfRightListResponse extends <any> Class to be used with JAXB for return types like HashMap>. Constructor Summary public HashMapOfRightListResponse() Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors HashMapOfRightListResponse public HashMapOfRightListResponse() ESM Service Layer: Core Services 2.0 Page 121
  • 122. com.arcsight.product.core.service.v1.model.jaxb Class ObjectFactory java.lang.Object | +-com.arcsight.product.core.service.v1.model.jaxb.ObjectFactory public final class ObjectFactory extends Object Constructor Summary public ObjectFactory() Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors ObjectFactory public ObjectFactory() ESM Service Layer: Core Services 2.0 Page 122
  • 124. com.arcsight.product.core.service.v1.rest Class LoginServiceImpl java.lang.Object | +-com.arcsight.product.core.service.v1.rest.LoginServiceImpl public class LoginServiceImpl extends Object Implementation of the login service interface. Constructor Summary public LoginServiceImpl() Method Summary LoginServiceAuthentic ateResponse authenticate(LoginServiceAuthenticate value) Authenticates the user with the given credentials. LoginServiceGetAuthen ticationMethodRespons e getAuthenticationMethod(HttpHeaders hh) Gets the method that applications should use to authenticate users. LoginServiceGetAuthen ticationMethodRespons e getAuthenticationMethodPost(HttpHeaders hh) Gets the method that applications should use to authenticate users. LoginServiceGetCurren tUserResponse getCurrentUser(LoginServiceGetCurrentUser value) Returns the login user for the current session. LoginServiceGetCurren tUserResponse getCurrentUser(String authToken, HttpHeaders hh) Returns the login user for the current session. LoginServiceGetCurren tUserResponse getCurrentUserPost(String authToken, HttpHeaders hh) Returns the login user for the current session. LoginServiceGetServic eMajorVersionResponse getServiceMajorVersion(LoginServiceGetServiceMajorVersion value) The major version of this service. LoginServiceGetServic eMajorVersionResponse getServiceMajorVersion(String authToken, HttpHeaders hh) The major version of this service. LoginServiceGetServic eMajorVersionResponse getServiceMajorVersionPost(String authToken, HttpHeaders hh) The major version of this service. LoginServiceGetServic eMinorVersionResponse getServiceMinorVersion(LoginServiceGetServiceMinorVersion value) The minor version of this service. LoginServiceGetServic eMinorVersionResponse getServiceMinorVersion(String authToken, HttpHeaders hh) The minor version of this service. ESM Service Layer: Core Services 2.0 Page 124
  • 125. LoginServiceGetServic eMinorVersionResponse getServiceMinorVersionPost(String authToken, HttpHeaders hh) The minor version of this service. LoginServiceGetSessio nResponse getSession(LoginServiceGetSession value) Returns the current session. LoginServiceGetSessio nResponse getSession(String authToken, HttpHeaders hh) Returns the current session. LoginServiceGetSessio nResponse getSessionPost(String authToken, HttpHeaders hh) Returns the current session. LoginServiceIsCASAuth Response isCASAuth(HttpHeaders hh) Deprecated. Not implemented LoginServiceIsCASAuth Response isCASAuthPost(HttpHeaders hh) Deprecated. Not implemented LoginServiceLoginResp onse login(LoginServiceLogin value) Establishes a session using the specified login and password, and gets the string value of the auth-token which is valid throughout the life of the session. LoginServiceLoginResp onse login(String login, String password, HttpHeaders hh) Establishes a session using the specified login and password, and gets the string value of the auth-token which is valid throughout the life of the session. LoginServiceLoginForO neTimeUseResponse loginForOneTimeUse(LoginServiceLoginForOneTimeUse value) Establishes a session which can only be used once subsequent to its creation, and gets the string value of auth-token which is valid throughout the life of the session. LoginServiceLoginForO neTimeUseResponse loginForOneTimeUse(String login, String password, HttpHeaders hh) Establishes a session which can only be used once subsequent to its creation, and gets the string value of auth-token which is valid throughout the life of the session. LoginServiceLoginForO neTimeUseResponse loginForOneTimeUsePost(String login, String password, HttpHeaders hh) Establishes a session which can only be used once subsequent to its creation, and gets the string value of auth-token which is valid throughout the life of the session. LoginServiceLoginResp onse loginPost(String login, String password, HttpHeaders hh) Establishes a session using the specified login and password, and gets the string value of the auth-token which is valid throughout the life of the session. Void logout(LoginServiceLogout value) Drops the current session and its bound auth-token. Void logout(String authToken, HttpHeaders hh) Drops the current session and its bound auth-token. Void logoutPost(String authToken, HttpHeaders hh) Drops the current session and its bound auth-token. Void resetPassword(LoginServiceResetPassword value) Resets the password for the user specified by the login userName. Void resetPassword(String login, HttpHeaders hh) Resets the password for the user specified by the login userName. ESM Service Layer: Core Services 2.0 Page 125
  • 126. Void resetPasswordPost(String login, HttpHeaders hh) Resets the password for the user specified by the login userName. LoginServiceSendAuthC hallengeResponseRespo nse sendAuthChallengeResponse(int challengeId, String resp, HttpHeaders hh) Sends a response for the requested challenge back to JAAS CallbackHandler, which initiates that challenge. LoginServiceSendAuthC hallengeResponseRespo nse sendAuthChallengeResponse(LoginServiceSendAuthChallengeResponse value) Sends a response for the requested challenge back to JAAS CallbackHandler, which initiates that challenge. LoginServiceSendAuthC hallengeResponseRespo nse sendAuthChallengeResponsePost(int challengeId, String resp, HttpHeaders hh) Sends a response for the requested challenge back to JAAS CallbackHandler, which initiates that challenge. Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors LoginServiceImpl public LoginServiceImpl() Methods login public LoginServiceLoginResponse login(String login, String password, HttpHeaders hh) throws ServiceException, AuthorizationException, AuthenticationException Establishes a session using the specified login and password, and gets the string value of the auth-token which is valid throughout the life of the session. If the provided information is enough to authenticate the user, the server sends back the authentication token. Otherwise this method throws an ServiceException. Check the error code of the exception to determine whether authentication failed or the server requested additional challenge if the error code equals to RuntimeLoginException.LOGIN_CHALLENGE. The ID of the additional challenge and key for the prompt string could be retrieved from exception's message that is prepared as String.format("prompt=%s&id=%s", challengePromptKey, Integer.toString(challengeId)). The client application is responsible for requesting additional information from the user for the challenge ID and sending the response back via another method sendAuthChallengeResponse. Parameters: login - The login user name password - The password of the login user hh - HTTP headers from http request Returns: ESM Service Layer: Core Services 2.0 Page 126
  • 127. The string value of auth-token to use for further calls otherwise Throws: ServiceException - if authentication failed or the server challenges with additional question com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated com.arcsight.tools.coma.service.ServiceException - For any errors happened during execution of this operation See Also: GET URL: http://HOST:PORT/www/core- service/rest/LoginService/login?login=value&password=value Normal response code: 200 loginPost public LoginServiceLoginResponse loginPost(String login, String password, HttpHeaders hh) throws ServiceException, AuthorizationException, AuthenticationException Establishes a session using the specified login and password, and gets the string value of the auth-token which is valid throughout the life of the session. If the provided information is enough to authenticate the user, the server sends back the authentication token. Otherwise this method throws an ServiceException. Check the error code of the exception to determine whether authentication failed or the server requested additional challenge if the error code equals to RuntimeLoginException.LOGIN_CHALLENGE. The ID of the additional challenge and key for the prompt string could be retrieved from exception's message that is prepared as String.format("prompt=%s&id=%s", challengePromptKey, Integer.toString(challengeId)). The client application is responsible for requesting additional information from the user for the challenge ID and sending the response back via another method sendAuthChallengeResponse. Parameters: login - The login user name password - The password of the login user hh - HTTP headers from http request Returns: The string value of auth-token to use for further calls otherwise Throws: ServiceException - if authentication failed or the server challenges with additional question com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated ESM Service Layer: Core Services 2.0 Page 127
  • 128. See Also: POST Consumes({"application/x-www-form-urlencoded"}) URL: http://HOST:PORT/www/core-service/rest/LoginService/login Normal response code: 200 JSON prototype for request body: { "log.login" : { "log.login" : "value", "log.password" : "value" } } login public LoginServiceLoginResponse login(LoginServiceLogin value) throws ServiceException, AuthorizationException, AuthenticationException Establishes a session using the specified login and password, and gets the string value of the auth-token which is valid throughout the life of the session. If the provided information is enough to authenticate the user, the server sends back the authentication token. Otherwise this method throws an ServiceException. Check the error code of the exception to determine whether authentication failed or the server requested additional challenge if the error code equals to RuntimeLoginException.LOGIN_CHALLENGE. The ID of the additional challenge and key for the prompt string could be retrieved from exception's message that is prepared as String.format("prompt=%s&id=%s", challengePromptKey, Integer.toString(challengeId)). The client application is responsible for requesting additional information from the user for the challenge ID and sending the response back via another method sendAuthChallengeResponse. Parameters: value - Model object containing request body Returns: The string value of auth-token to use for further calls otherwise ESM Service Layer: Core Services 2.0 Page 128
  • 129. Throws: com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated com.arcsight.tools.coma.service.ServiceException - For any other errors happened during execution of this operation See Also: POST Consumes({"application/xml","text/xml","application/json"}) URL: http://HOST:PORT/www/core-service/rest/LoginService/login Normal response code: 200 JSON prototype for request body: { "log.login" : { "log.login" : "value", "log.password" : "value" } } where: login The login user name password The password of the login user logout public Void logout(String authToken, HttpHeaders hh) throws ServiceException, AuthorizationException, AuthenticationException Drops the current session and its bound auth-token. Parameters: ESM Service Layer: Core Services 2.0 Page 129
  • 130. authToken - Authentication token created for the current session hh - HTTP headers from http request Throws: com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated com.arcsight.tools.coma.service.ServiceException - For any errors happened during execution of this operation See Also: GET URL: http://HOST:PORT/www/core-service/rest/LoginService/logout?authToken=value Normal response code: 204 logoutPost public Void logoutPost(String authToken, HttpHeaders hh) throws ServiceException, AuthorizationException, AuthenticationException Drops the current session and its bound auth-token. Parameters: authToken - Authentication token created for the current session hh - HTTP headers from http request Throws: com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated See Also: ESM Service Layer: Core Services 2.0 Page 130
  • 131. POST Consumes({"application/x-www-form-urlencoded"}) URL: http://HOST:PORT/www/core-service/rest/LoginService/logout Normal response code: 204 JSON prototype for request body: { "log.logout" : { "log.authToken" : "value" } } logout public Void logout(LoginServiceLogout value) throws ServiceException, AuthorizationException, AuthenticationException Drops the current session and its bound auth-token. Parameters: value - Model object containing request body Throws: com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated com.arcsight.tools.coma.service.ServiceException - For any other errors happened during execution of this operation See Also: ESM Service Layer: Core Services 2.0 Page 131
  • 132. POST Consumes({"application/xml","text/xml","application/json"}) URL: http://HOST:PORT/www/core-service/rest/LoginService/logout Normal response code: 204 JSON prototype for request body: { "log.logout" : { "log.authToken" : "value" } } where: authToken Authentication token created for the current session getCurrentUser public LoginServiceGetCurrentUserResponse getCurrentUser(String authToken, HttpHeaders hh) throws ServiceException, AuthorizationException, AuthenticationException Returns the login user for the current session. Parameters: authToken - Authentication token created for the current session hh - HTTP headers from http request Returns: The login user for the current session. Throws: com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated ESM Service Layer: Core Services 2.0 Page 132
  • 133. com.arcsight.tools.coma.service.ServiceException - For any errors happened during execution of this operation See Also: GET URL: http://HOST:PORT/www/core- service/rest/LoginService/getCurrentUser?authToken=value Normal response code: 200 getCurrentUserPost public LoginServiceGetCurrentUserResponse getCurrentUserPost(String authToken, HttpHeaders hh) throws ServiceException, AuthorizationException, AuthenticationException Returns the login user for the current session. Parameters: authToken - Authentication token created for the current session hh - HTTP headers from http request Returns: The login user for the current session. Throws: com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated See Also: ESM Service Layer: Core Services 2.0 Page 133
  • 134. POST Consumes({"application/x-www-form-urlencoded"}) URL: http://HOST:PORT/www/core-service/rest/LoginService/getCurrentUser Normal response code: 200 JSON prototype for request body: { "log.getCurrentUser" : { "log.authToken" : "value" } } getCurrentUser public LoginServiceGetCurrentUserResponse getCurrentUser(LoginServiceGetCurrentUser value) throws ServiceException, AuthorizationException, AuthenticationException Returns the login user for the current session. Parameters: value - Model object containing request body Returns: The login user for the current session. Throws: com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated com.arcsight.tools.coma.service.ServiceException - For any other errors happened during execution of this operation See Also: ESM Service Layer: Core Services 2.0 Page 134
  • 135. POST Consumes({"application/xml","text/xml","application/json"}) URL: http://HOST:PORT/www/core-service/rest/LoginService/getCurrentUser Normal response code: 200 JSON prototype for request body: { "log.getCurrentUser" : { "log.authToken" : "value" } } where: authToken Authentication token created for the current session getSession public LoginServiceGetSessionResponse getSession(String authToken, HttpHeaders hh) throws ServiceException, AuthorizationException, AuthenticationException Returns the current session. Parameters: authToken - Authentication token created for the current session hh - HTTP headers from http request Returns: The current session. Throws: com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated ESM Service Layer: Core Services 2.0 Page 135
  • 136. com.arcsight.tools.coma.service.ServiceException - For any errors happened during execution of this operation See Also: GET URL: http://HOST:PORT/www/core-service/rest/LoginService/getSession?authToken=value Normal response code: 200 getSessionPost public LoginServiceGetSessionResponse getSessionPost(String authToken, HttpHeaders hh) throws ServiceException, AuthorizationException, AuthenticationException Returns the current session. Parameters: authToken - Authentication token created for the current session hh - HTTP headers from http request Returns: The current session. Throws: com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated See Also: ESM Service Layer: Core Services 2.0 Page 136
  • 137. POST Consumes({"application/x-www-form-urlencoded"}) URL: http://HOST:PORT/www/core-service/rest/LoginService/getSession Normal response code: 200 JSON prototype for request body: { "log.getSession" : { "log.authToken" : "value" } } getSession public LoginServiceGetSessionResponse getSession(LoginServiceGetSession value) throws ServiceException, AuthorizationException, AuthenticationException Returns the current session. Parameters: value - Model object containing request body Returns: The current session. Throws: com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated com.arcsight.tools.coma.service.ServiceException - For any other errors happened during execution of this operation See Also: ESM Service Layer: Core Services 2.0 Page 137
  • 138. POST Consumes({"application/xml","text/xml","application/json"}) URL: http://HOST:PORT/www/core-service/rest/LoginService/getSession Normal response code: 200 JSON prototype for request body: { "log.getSession" : { "log.authToken" : "value" } } where: authToken Authentication token created for the current session isCASAuth public LoginServiceIsCASAuthResponse isCASAuth(HttpHeaders hh) throws ServiceException, AuthorizationException, AuthenticationException Deprecated. Not implemented Parameters: hh - HTTP headers from http request Throws: com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated com.arcsight.tools.coma.service.ServiceException - For any errors happened during execution of this operation ESM Service Layer: Core Services 2.0 Page 138
  • 139. isCASAuthPost public LoginServiceIsCASAuthResponse isCASAuthPost(HttpHeaders hh) throws ServiceException, AuthorizationException, AuthenticationException Deprecated. Not implemented Parameters: hh - HTTP headers from http request Throws: com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated authenticate public LoginServiceAuthenticateResponse authenticate(LoginServiceAuthenticate value) throws ServiceException, AuthorizationException, AuthenticationException Authenticates the user with the given credentials. If this is a multi-step authentication, the authContext needs to be passed to indicate the session. If the provided information is enough to authenticate the user, the server sends back an instance of AuthResponse containing the authentication token. Otherwise this method throws an ServiceException. Check the error code of the exception to determine whether authentication failed or the server requested additional challenge if the error code equals to RuntimeLoginException.LOGIN_CHALLENGE. The ID of the additional challenge and key for the prompt string could be retrieved from exception's message that is prepared as String.format("prompt=%s&id=%s", challengePromptKey, Integer.toString(challengeId)). The client application is responsible for requesting additional information from the user for the challenge ID and sending the response back via another method sendAuthChallengeResponse. Parameters: value - Model object containing request body Returns: The response from the server, used to indicate if it was successful or more steps are required. Also contains the authToken to be used in further operations Throws: com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated com.arcsight.tools.coma.service.ServiceException - For any other errors happened during execution of this operation See Also: ESM Service Layer: Core Services 2.0 Page 139
  • 140. POST Consumes({"application/xml","text/xml","application/json"}) URL: http://HOST:PORT/www/core-service/rest/LoginService/authenticate Normal response code: 200 JSON prototype for request body: { "log.authenticate" : { "log.cred" : { "JSON for the nested object" }, "log.authContext" : { "JSON for the nested object" } } } where: cred Credential to use to authenticate the user. Credential must match the AuthMethod being used. authContext The context in which the authentication is taking place. Can be null. sendAuthChallengeResponse public LoginServiceSendAuthChallengeResponseResponse sendAuthChallengeResponse(int challengeId, String resp, HttpHeaders hh) throws ServiceException, AuthorizationException, AuthenticationException Sends a response for the requested challenge back to JAAS CallbackHandler, which initiates that challenge. This method is to be called on behalf of a client (e.g. ArcSight Console) after the client receives the challenge challengeId and the user provides the response. If the provided response is enough to authenticate the user, the server sends back an instance of AuthResponse containing the authentication token. Otherwise this method throws an ServiceException. Check the error code of the exception to determine whether the server requested another challenge if the error code equals to RuntimeLoginException.LOGIN_CHALLENGE or authentication failed. The ID of the additional challenge and key for the prompt string could be retrieved from exception's message that is prepared as String.format("prompt=%s&id=%s", challengePromptKey, Integer.toString(challengeId)). ESM Service Layer: Core Services 2.0 Page 140
  • 141. Parameters: challengeId - Identifier of a challenge send by JAAS authenticator response - User response to the challenge hh - HTTP headers from http request Returns: Authentication response which includes the authentication token Throws: ServiceException - if authentication failed or the server challenges with another question com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated com.arcsight.tools.coma.service.ServiceException - For any errors happened during execution of this operation See Also: GET URL: http://HOST:PORT/www/core- service/rest/LoginService/sendAuthChallengeResponse?challengeId=value&resp=value Normal response code: 200 sendAuthChallengeResponsePost public LoginServiceSendAuthChallengeResponseResponse sendAuthChallengeResponsePost(int challengeId, String resp, HttpHeaders hh) throws ServiceException, AuthorizationException, AuthenticationException Sends a response for the requested challenge back to JAAS CallbackHandler, which initiates that challenge. This method is to be called on behalf of a client (e.g. ArcSight Console) after the client receives the challenge challengeId and the user provides the response. If the provided response is enough to authenticate the user, the server sends back an instance of AuthResponse containing the authentication token. Otherwise this method throws an ServiceException. Check the error code of the exception to determine whether the server requested another challenge if the error code equals to RuntimeLoginException.LOGIN_CHALLENGE or authentication failed. The ID of the additional challenge and key for the prompt string could be retrieved from exception's message that is prepared as String.format("prompt=%s&id=%s", challengePromptKey, Integer.toString(challengeId)). Parameters: challengeId - Identifier of a challenge send by JAAS authenticator response - User response to the challenge hh - HTTP headers from http request ESM Service Layer: Core Services 2.0 Page 141
  • 142. Returns: Authentication response which includes the authentication token Throws: ServiceException - if authentication failed or the server challenges with another question com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated See Also: POST Consumes({"application/x-www-form-urlencoded"}) URL: http://HOST:PORT/www/core-service/rest/LoginService/sendAuthChallengeResponse Normal response code: 200 JSON prototype for request body: { "log.sendAuthChallengeResponse" : { "log.challengeId" : "value", "log.resp" : "value" } } sendAuthChallengeResponse public LoginServiceSendAuthChallengeResponseResponse sendAuthChallengeResponse(LoginServiceSendAuthChallengeResponse value) throws ServiceException, AuthorizationException, AuthenticationException ESM Service Layer: Core Services 2.0 Page 142
  • 143. Sends a response for the requested challenge back to JAAS CallbackHandler, which initiates that challenge. This method is to be called on behalf of a client (e.g. ArcSight Console) after the client receives the challenge challengeId and the user provides the response. If the provided response is enough to authenticate the user, the server sends back an instance of AuthResponse containing the authentication token. Otherwise this method throws an ServiceException. Check the error code of the exception to determine whether the server requested another challenge if the error code equals to RuntimeLoginException.LOGIN_CHALLENGE or authentication failed. The ID of the additional challenge and key for the prompt string could be retrieved from exception's message that is prepared as String.format("prompt=%s&id=%s", challengePromptKey, Integer.toString(challengeId)). Parameters: value - Model object containing request body Returns: Authentication response which includes the authentication token Throws: com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated com.arcsight.tools.coma.service.ServiceException - For any other errors happened during execution of this operation See Also: ESM Service Layer: Core Services 2.0 Page 143
  • 144. POST Consumes({"application/xml","text/xml","application/json"}) URL: http://HOST:PORT/www/core-service/rest/LoginService/sendAuthChallengeResponse Normal response code: 200 JSON prototype for request body: { "log.sendAuthChallengeResponse" : { "log.challengeId" : "value", "log.resp" : "value" } } where: challengeId Identifier of a challenge send by JAAS authenticator response User response to the challenge getAuthenticationMethod public LoginServiceGetAuthenticationMethodResponse getAuthenticationMethod(HttpHeaders hh) throws ServiceException, AuthorizationException, AuthenticationException Gets the method that applications should use to authenticate users. Parameters: hh - HTTP headers from http request Returns: The Auth Throws: com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation ESM Service Layer: Core Services 2.0 Page 144
  • 145. com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated com.arcsight.tools.coma.service.ServiceException - For any errors happened during execution of this operation See Also: GET URL: http://HOST:PORT/www/core-service/rest/LoginService/getAuthenticationMethod? Normal response code: 200 getAuthenticationMethodPost public LoginServiceGetAuthenticationMethodResponse getAuthenticationMethodPost(HttpHeaders hh) throws ServiceException, AuthorizationException, AuthenticationException Gets the method that applications should use to authenticate users. Parameters: hh - HTTP headers from http request Returns: The Auth Throws: com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated See Also: ESM Service Layer: Core Services 2.0 Page 145
  • 146. POST Consumes({"application/x-www-form-urlencoded"}) URL: http://HOST:PORT/www/core-service/rest/LoginService/getAuthenticationMethod Normal response code: 200 JSON prototype for request body: { "log.getAuthenticationMethod" : { } } loginForOneTimeUse public LoginServiceLoginForOneTimeUseResponse loginForOneTimeUse(String login, String password, HttpHeaders hh) throws ServiceException, AuthorizationException, AuthenticationException Establishes a session which can only be used once subsequent to its creation, and gets the string value of auth-token which is valid throughout the life of the session. If the provided information is enough to authenticate the user, the server sends back the authentication token. Otherwise this method throws an ServiceException. Check the error code of the exception to determine whether authentication failed or the server requested additional challenge if the error code equals to RuntimeLoginException.LOGIN_CHALLENGE. The ID of the additional challenge and key for the prompt string could be retrieved from exception's message that is prepared as String.format("prompt=%s&id=%s", challengePromptKey, Integer.toString(challengeId)). The client application is responsible for requesting additional information from the user for the challenge ID and sending the response back via another method sendAuthChallengeResponse. Parameters: login - The login user name. password - The password of the login user. hh - HTTP headers from http request Returns: ESM Service Layer: Core Services 2.0 Page 146
  • 147. The string value of auth-token to use for further calls otherwise. Throws: ServiceException - if authentication failed or the server challenges with additional question com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated com.arcsight.tools.coma.service.ServiceException - For any errors happened during execution of this operation See Also: GET URL: http://HOST:PORT/www/core- service/rest/LoginService/loginForOneTimeUse?login=value&password=value Normal response code: 200 loginForOneTimeUsePost public LoginServiceLoginForOneTimeUseResponse loginForOneTimeUsePost(String login, String password, HttpHeaders hh) throws ServiceException, AuthorizationException, AuthenticationException Establishes a session which can only be used once subsequent to its creation, and gets the string value of auth-token which is valid throughout the life of the session. If the provided information is enough to authenticate the user, the server sends back the authentication token. Otherwise this method throws an ServiceException. Check the error code of the exception to determine whether authentication failed or the server requested additional challenge if the error code equals to RuntimeLoginException.LOGIN_CHALLENGE. The ID of the additional challenge and key for the prompt string could be retrieved from exception's message that is prepared as String.format("prompt=%s&id=%s", challengePromptKey, Integer.toString(challengeId)). The client application is responsible for requesting additional information from the user for the challenge ID and sending the response back via another method sendAuthChallengeResponse. Parameters: login - The login user name. password - The password of the login user. hh - HTTP headers from http request Returns: The string value of auth-token to use for further calls otherwise. Throws: ServiceException - if authentication failed or the server challenges with additional question com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated ESM Service Layer: Core Services 2.0 Page 147
  • 148. See Also: POST Consumes({"application/x-www-form-urlencoded"}) URL: http://HOST:PORT/www/core-service/rest/LoginService/loginForOneTimeUse Normal response code: 200 JSON prototype for request body: { "log.loginForOneTimeUse" : { "log.login" : "value", "log.password" : "value" } } loginForOneTimeUse public LoginServiceLoginForOneTimeUseResponse loginForOneTimeUse(LoginServiceLoginForOneTimeUse value) throws ServiceException, AuthorizationException, AuthenticationException Establishes a session which can only be used once subsequent to its creation, and gets the string value of auth-token which is valid throughout the life of the session. If the provided information is enough to authenticate the user, the server sends back the authentication token. Otherwise this method throws an ServiceException. Check the error code of the exception to determine whether authentication failed or the server requested additional challenge if the error code equals to RuntimeLoginException.LOGIN_CHALLENGE. The ID of the additional challenge and key for the prompt string could be retrieved from exception's message that is prepared as String.format("prompt=%s&id=%s", challengePromptKey, Integer.toString(challengeId)). The client application is responsible for requesting additional information from the user for the challenge ID and sending the response back via another method sendAuthChallengeResponse. Parameters: value - Model object containing request body Returns: ESM Service Layer: Core Services 2.0 Page 148
  • 149. The string value of auth-token to use for further calls otherwise. Throws: com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated com.arcsight.tools.coma.service.ServiceException - For any other errors happened during execution of this operation See Also: POST Consumes({"application/xml","text/xml","application/json"}) URL: http://HOST:PORT/www/core-service/rest/LoginService/loginForOneTimeUse Normal response code: 200 JSON prototype for request body: { "log.loginForOneTimeUse" : { "log.login" : "value", "log.password" : "value" } } where: login The login user name. password The password of the login user. resetPassword public Void resetPassword(String login, HttpHeaders hh) throws ServiceException, AuthorizationException, AuthenticationException ESM Service Layer: Core Services 2.0 Page 149
  • 150. Resets the password for the user specified by the login userName. The ArcSight Manager assigns a new random password (8 characters, including numbers and letters) and sends it to the selected user's assigned e-mail address. Please note that this feature needs to be configured as per ESM User's guide. Parameters: login - User name associated with the account. hh - HTTP headers from http request Throws: ServiceException com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated com.arcsight.tools.coma.service.ServiceException - For any errors happened during execution of this operation See Also: GET URL: http://HOST:PORT/www/core-service/rest/LoginService/resetPassword?login=value Normal response code: 204 resetPasswordPost public Void resetPasswordPost(String login, HttpHeaders hh) throws ServiceException, AuthorizationException, AuthenticationException Resets the password for the user specified by the login userName. The ArcSight Manager assigns a new random password (8 characters, including numbers and letters) and sends it to the selected user's assigned e-mail address. Please note that this feature needs to be configured as per ESM User's guide. Parameters: login - User name associated with the account. hh - HTTP headers from http request Throws: ServiceException com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated See Also: ESM Service Layer: Core Services 2.0 Page 150
  • 151. POST Consumes({"application/x-www-form-urlencoded"}) URL: http://HOST:PORT/www/core-service/rest/LoginService/resetPassword Normal response code: 204 JSON prototype for request body: { "log.resetPassword" : { "log.login" : "value" } } resetPassword public Void resetPassword(LoginServiceResetPassword value) throws ServiceException, AuthorizationException, AuthenticationException Resets the password for the user specified by the login userName. The ArcSight Manager assigns a new random password (8 characters, including numbers and letters) and sends it to the selected user's assigned e-mail address. Please note that this feature needs to be configured as per ESM User's guide. Parameters: value - Model object containing request body Throws: com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated com.arcsight.tools.coma.service.ServiceException - For any other errors happened during execution of this operation See Also: ESM Service Layer: Core Services 2.0 Page 151
  • 152. POST Consumes({"application/xml","text/xml","application/json"}) URL: http://HOST:PORT/www/core-service/rest/LoginService/resetPassword Normal response code: 204 JSON prototype for request body: { "log.resetPassword" : { "log.login" : "value" } } where: login User name associated with the account. getServiceMajorVersion public LoginServiceGetServiceMajorVersionResponse getServiceMajorVersion(String authToken, HttpHeaders hh) throws ServiceException, AuthorizationException, AuthenticationException The major version of this service. Parameters: authToken - Authentication token created for the current session hh - HTTP headers from http request Throws: com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated com.arcsight.tools.coma.service.ServiceException - For any errors happened during execution of this operation ESM Service Layer: Core Services 2.0 Page 152
  • 153. See Also: GET URL: http://HOST:PORT/www/core- service/rest/LoginService/getServiceMajorVersion?authToken=value Normal response code: 200 getServiceMajorVersionPost public LoginServiceGetServiceMajorVersionResponse getServiceMajorVersionPost(String authToken, HttpHeaders hh) throws ServiceException, AuthorizationException, AuthenticationException The major version of this service. Parameters: authToken - Authentication token created for the current session hh - HTTP headers from http request Throws: com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated See Also: ESM Service Layer: Core Services 2.0 Page 153
  • 154. POST Consumes({"application/x-www-form-urlencoded"}) URL: http://HOST:PORT/www/core-service/rest/LoginService/getServiceMajorVersion Normal response code: 200 JSON prototype for request body: { "log.getServiceMajorVersion" : { "log.authToken" : "value" } } getServiceMajorVersion public LoginServiceGetServiceMajorVersionResponse getServiceMajorVersion(LoginServiceGetServiceMajorVersion value) throws ServiceException, AuthorizationException, AuthenticationException The major version of this service. Parameters: value - Model object containing request body Throws: com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated com.arcsight.tools.coma.service.ServiceException - For any other errors happened during execution of this operation See Also: ESM Service Layer: Core Services 2.0 Page 154
  • 155. POST Consumes({"application/xml","text/xml","application/json"}) URL: http://HOST:PORT/www/core-service/rest/LoginService/getServiceMajorVersion Normal response code: 200 JSON prototype for request body: { "log.getServiceMajorVersion" : { "log.authToken" : "value" } } where: authToken Authentication token created for the current session getServiceMinorVersion public LoginServiceGetServiceMinorVersionResponse getServiceMinorVersion(String authToken, HttpHeaders hh) throws ServiceException, AuthorizationException, AuthenticationException The minor version of this service. Parameters: authToken - Authentication token created for the current session hh - HTTP headers from http request Throws: com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated com.arcsight.tools.coma.service.ServiceException - For any errors happened during execution of this operation ESM Service Layer: Core Services 2.0 Page 155
  • 156. See Also: GET URL: http://HOST:PORT/www/core- service/rest/LoginService/getServiceMinorVersion?authToken=value Normal response code: 200 getServiceMinorVersionPost public LoginServiceGetServiceMinorVersionResponse getServiceMinorVersionPost(String authToken, HttpHeaders hh) throws ServiceException, AuthorizationException, AuthenticationException The minor version of this service. Parameters: authToken - Authentication token created for the current session hh - HTTP headers from http request Throws: com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated See Also: ESM Service Layer: Core Services 2.0 Page 156
  • 157. POST Consumes({"application/x-www-form-urlencoded"}) URL: http://HOST:PORT/www/core-service/rest/LoginService/getServiceMinorVersion Normal response code: 200 JSON prototype for request body: { "log.getServiceMinorVersion" : { "log.authToken" : "value" } } getServiceMinorVersion public LoginServiceGetServiceMinorVersionResponse getServiceMinorVersion(LoginServiceGetServiceMinorVersion value) throws ServiceException, AuthorizationException, AuthenticationException The minor version of this service. Parameters: value - Model object containing request body Throws: com.arcsight.coma.bridge.AuthorizationException - If the user is not authorized to perform this operation com.arcsight.coma.bridge.AuthenticationException - If the user is not authenticated com.arcsight.tools.coma.service.ServiceException - For any other errors happened during execution of this operation See Also: ESM Service Layer: Core Services 2.0 Page 157
  • 158. POST Consumes({"application/xml","text/xml","application/json"}) URL: http://HOST:PORT/www/core-service/rest/LoginService/getServiceMinorVersion Normal response code: 200 JSON prototype for request body: { "log.getServiceMinorVersion" : { "log.authToken" : "value" } } where: authToken Authentication token created for the current session ESM Service Layer: Core Services 2.0 Page 158
  • 160. com.arcsight.tools.coma.service Class RuntimeCodedException java.lang.Object | +-java.lang.Throwable | +-java.lang.Exception | +-java.lang.RuntimeException | +-com.arcsight.tools.coma.service.RuntimeCodedException public class RuntimeCodedException extends RuntimeException Base class for various internal runtime exceptions that may happen while communicating from service layer with internal ESM classes. All Implemented Interfaces: Serializable Direct Known Subclasses: RuntimeLoginException Constructor Summary public RuntimeCodedException() Constructs a new runtime exception with null as its detail message. public RuntimeCodedException(String message) Constructs a new runtime exception with the specified detail message. public RuntimeCodedException(Throwable cause) Constructs a new runtime exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). public RuntimeCodedException(String message, Throwable cause) Constructs a new runtime exception with the specified detail message and cause. public RuntimeCodedException(int errorCode) Constructs a new exception with the specified error code Method Summary int getErrorCode() Returns the error code associated with this exception. void setErrorCode(int errorCode) Associates the error code with the exception. Methods inherited from class java.lang.Throwable ESM Service Layer: Core Services 2.0 Page 160
  • 161. fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors RuntimeCodedException public RuntimeCodedException() Constructs a new runtime exception with null as its detail message. RuntimeCodedException public RuntimeCodedException(String message) Constructs a new runtime exception with the specified detail message. Parameters: message - the detail message. RuntimeCodedException public RuntimeCodedException(Throwable cause) Constructs a new runtime exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). This constructor is useful for runtime exceptions that are little more than wrappers for other throwables. Parameters: cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.) RuntimeCodedException public RuntimeCodedException(String message, Throwable cause) Constructs a new runtime exception with the specified detail message and cause. Note that the detail message associated with cause is not automatically incorporated in this runtime exception's detail message. Parameters: message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method). cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.) ESM Service Layer: Core Services 2.0 Page 161
  • 162. RuntimeCodedException public RuntimeCodedException(int errorCode) Constructs a new exception with the specified error code Parameters: errorCode - error code identifying the exceptional case Methods getErrorCode public int getErrorCode() Returns the error code associated with this exception. The error code is set when the exception thrown and it indicates the failure or irregular situation. Returns: the errorCode setErrorCode public void setErrorCode(int errorCode) Associates the error code with the exception. Parameters: errorCode - The errorCode to set ESM Service Layer: Core Services 2.0 Page 162
  • 163. com.arcsight.tools.coma.service Class RuntimeLoginException java.lang.Object | +-java.lang.Throwable | +-java.lang.Exception | +-java.lang.RuntimeException | +-com.arcsight.tools.coma.service.RuntimeCodedException | +-com.arcsight.tools.coma.service.RuntimeLoginException public class RuntimeLoginException extends RuntimeCodedException Exception thrown for authentication issues. It doesn't necessarily means failure. The exception could indicate a request for additional information (challenge). This is internal exception not returned by API calls. To report related exceptional cases to the clients API converts this exception to ServiceLoginException All Implemented Interfaces: Serializable Field Summary public static final LOGIN_CHALLENGE Indicates additional challenge requested by the server. Value: -4 public static final LOGIN_ERROR_FAILURE Indicates login failure. Value: 0 public static final LOGIN_ERROR_LICENSE_EXPIRED Indicates an expired license. Value: -1 public static final LOGIN_ERROR_PASSWORD_EXPIRED Indicates expired password. Value: -3 public static final LOGIN_ERROR_USER_DISABLED Indicates the fact that user account was disabled. Value: -2 public static final LOGIN_ERROR_USER_NOT_ALLOWED Indicates that the user doesn't have permission to access the component. Value: -5 ESM Service Layer: Core Services 2.0 Page 163
  • 164. Constructor Summary public RuntimeLoginException() Constructs a new runtime exception with null as its detail message. public RuntimeLoginException(String message) Constructs a new runtime exception with the specified detail message. public RuntimeLoginException(Throwable cause) Constructs a new runtime exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). public RuntimeLoginException(String message, Throwable cause) Constructs a new runtime exception with the specified detail message and cause. public RuntimeLoginException(int errorCode) Methods inherited from class com.arcsight.tools.coma.service.RuntimeCodedException getErrorCode, setErrorCode Methods inherited from class java.lang.Throwable fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Fields LOGIN_ERROR_FAILURE public static final int LOGIN_ERROR_FAILURE Indicates login failure. Constant value: 0 LOGIN_ERROR_LICENSE_EXPIRED public static final int LOGIN_ERROR_LICENSE_EXPIRED Indicates an expired license. Constant value: -1 LOGIN_ERROR_USER_DISABLED public static final int LOGIN_ERROR_USER_DISABLED Indicates the fact that user account was disabled. ESM Service Layer: Core Services 2.0 Page 164
  • 165. Constant value: -2 LOGIN_ERROR_PASSWORD_EXPIRED public static final int LOGIN_ERROR_PASSWORD_EXPIRED Indicates expired password. Constant value: -3 LOGIN_CHALLENGE public static final int LOGIN_CHALLENGE Indicates additional challenge requested by the server. Login cannot be completed until the user to meet the challenge. Constant value: -4 LOGIN_ERROR_USER_NOT_ALLOWED public static final int LOGIN_ERROR_USER_NOT_ALLOWED Indicates that the user doesn't have permission to access the component. Constant value: -5 Constructors RuntimeLoginException public RuntimeLoginException() Constructs a new runtime exception with null as its detail message. RuntimeLoginException public RuntimeLoginException(String message) Constructs a new runtime exception with the specified detail message. Parameters: message - the detail message. RuntimeLoginException public RuntimeLoginException(Throwable cause) Constructs a new runtime exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). This constructor is useful for runtime exceptions that are little more than wrappers for other throwables. Parameters: cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.) ESM Service Layer: Core Services 2.0 Page 165
  • 166. RuntimeLoginException public RuntimeLoginException(String message, Throwable cause) Constructs a new runtime exception with the specified detail message and cause. Note that the detail message associated with cause is not automatically incorporated in this runtime exception's detail message. Parameters: message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method). cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.) RuntimeLoginException public RuntimeLoginException(int errorCode) ESM Service Layer: Core Services 2.0 Page 166
  • 167. com.arcsight.tools.coma.service Interface Service public interface Service extends Base interface for services. All Known Implementing Classes: ServiceBase Method Summary int getServiceMajorVersion() The major version of this service. int getServiceMinorVersion() The minor version of this service. Methods getServiceMajorVersion public int getServiceMajorVersion() The major version of this service. Returns: The major version of this service. getServiceMinorVersion public int getServiceMinorVersion() The minor version of this service. Returns: The minor version of this service. ESM Service Layer: Core Services 2.0 Page 167
  • 168. com.arcsight.tools.coma.service Class ServiceBase java.lang.Object | +-com.arcsight.tools.coma.service.ServiceBase public abstract class ServiceBase extends Object implements Service Base service implementation. All Implemented Interfaces: Service Constructor Summary public ServiceBase() Method Summary int getServiceMajorVersion() int getServiceMinorVersion() Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Methods inherited from interface com.arcsight.tools.coma.service.Service getServiceMajorVersion, getServiceMinorVersion Constructors ServiceBase public ServiceBase() Methods ESM Service Layer: Core Services 2.0 Page 168
  • 169. getServiceMajorVersion public int getServiceMajorVersion() getServiceMinorVersion public int getServiceMinorVersion() ESM Service Layer: Core Services 2.0 Page 169
  • 170. com.arcsight.tools.coma.service Class ServiceException java.lang.Object | +-java.lang.Throwable | +-java.lang.Exception | +-com.arcsight.tools.coma.service.ServiceException public class ServiceException extends Exception implements Serializable, Serializable This is exception for kahuna/coma service. There are several reasons to have special exception impl: 1. Make it serializable so all service binding can marshal it 2. Due to the known GWT marshaling issue, parent message can not be marshaled we have to duplicated parent instance variables in this class. All Implemented Interfaces: Serializable, Serializable Direct Known Subclasses: ValidationException, ServiceLoginException Field Summary public static final ERROR_UNKNOWN Value: -54188 Constructor Summary public ServiceException() Constructs a new exception with null as its detail message. public ServiceException(String message) Constructs a new exception with the specified detail message. public ServiceException(Throwable cause) Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). public ServiceException(String message, Throwable cause) Constructs a new exception with the specified detail message and cause. Method Summary static String buildExceptionStackTraceString(Throwable e) It builds a string for stack trace of an exception. ESM Service Layer: Core Services 2.0 Page 170
  • 171. static ServiceException createServiceException(Throwable e) It creates an exception which is serializable. int getErrorCode() Returns the error code associated with this exception. void setErrorCode(int errorCode) Associates the error code with the exception. Methods inherited from class java.lang.Throwable fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Fields ERROR_UNKNOWN public static final int ERROR_UNKNOWN Constant value: -54188 Constructors ServiceException public ServiceException() Constructs a new exception with null as its detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable). ServiceException public ServiceException(String message) Constructs a new exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable). Parameters: message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method. ServiceException public ServiceException(Throwable cause) ESM Service Layer: Core Services 2.0 Page 171
  • 172. Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). This constructor is useful for exceptions that are little more than wrappers for other throwables (for example, java.security.PrivilegedActionException). Parameters: cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.) ServiceException public ServiceException(String message, Throwable cause) Constructs a new exception with the specified detail message and cause. Note that the detail message associated with cause is not automatically incorporated in this exception's detail message. Parameters: message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method). cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.) Methods buildExceptionStackTraceString public static String buildExceptionStackTraceString(Throwable e) It builds a string for stack trace of an exception. It is used for debugging log. Parameters: e Returns: createServiceException public static ServiceException createServiceException(Throwable e) It creates an exception which is serializable. Some of the throwables, such as NullPointerException, are not serializable. They will cause serialization error when they are wrapped in service exception. This approach wraps all stack traces as string in service exception. Parameters: e Returns: getErrorCode public int getErrorCode() Returns the error code associated with this exception. The error code is set when the exception thrown and it indicates the failure or irregular situation. ESM Service Layer: Core Services 2.0 Page 172
  • 173. Returns: the errorCode setErrorCode public void setErrorCode(int errorCode) Associates the error code with the exception. Parameters: errorCode - The errorCode to set ESM Service Layer: Core Services 2.0 Page 173
  • 174. com.arcsight.tools.coma.service Class ServiceLoginException java.lang.Object | +-java.lang.Throwable | +-java.lang.Exception | +-com.arcsight.tools.coma.service.ServiceException | +-com.arcsight.tools.coma.service.ServiceLoginException public class ServiceLoginException extends ServiceException Exception thrown for authentication issues. It doesn't necessarily means failure. The exception could indicate a request for additional information (challenge). All Implemented Interfaces: Serializable, Serializable Field Summary public static final LOGIN_ERROR_FAILURE Indicates login failure. Value: 0 public static final LOGIN_ERROR_LICENSE_EXPIRED Indicates an expired license. Value: -1 public static final LOGIN_ERROR_USER_DISABLED Indicates the fact that user account was disabled. Value: -2 public static final LOGIN_ERROR_USER_NOT_ALLOWED Indicates that the user doesn't have permission to access the component. Value: -5 Fields inherited from class com.arcsight.tools.coma.service.ServiceException ERROR_UNKNOWN Constructor Summary public ServiceLoginException() Constructs a new exception with null as its detail message. public ServiceLoginException(String message) Constructs a new exception with the specified detail message. ESM Service Layer: Core Services 2.0 Page 174
  • 175. public ServiceLoginException(Throwable cause) Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). public ServiceLoginException(String message, Throwable cause) Constructs a new exception with the specified detail message and cause. public ServiceLoginException(int errorCode) Constructs a new exception with the specified error code Methods inherited from class com.arcsight.tools.coma.service.ServiceException buildExceptionStackTraceString, createServiceException, getErrorCode, setErrorCode Methods inherited from class java.lang.Throwable fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Fields LOGIN_ERROR_FAILURE public static final int LOGIN_ERROR_FAILURE Indicates login failure. Constant value: 0 LOGIN_ERROR_LICENSE_EXPIRED public static final int LOGIN_ERROR_LICENSE_EXPIRED Indicates an expired license. Constant value: -1 LOGIN_ERROR_USER_DISABLED public static final int LOGIN_ERROR_USER_DISABLED Indicates the fact that user account was disabled. Constant value: -2 LOGIN_ERROR_USER_NOT_ALLOWED public static final int LOGIN_ERROR_USER_NOT_ALLOWED Indicates that the user doesn't have permission to access the component. Constant value: -5 ESM Service Layer: Core Services 2.0 Page 175
  • 176. Constructors ServiceLoginException public ServiceLoginException() Constructs a new exception with null as its detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable). ServiceLoginException public ServiceLoginException(String message) Constructs a new exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable). Parameters: message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method. ServiceLoginException public ServiceLoginException(Throwable cause) Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). This constructor is useful for exceptions that are little more than wrappers for other throwables (for example, java.security.PrivilegedActionException). Parameters: cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.) ServiceLoginException public ServiceLoginException(String message, Throwable cause) Constructs a new exception with the specified detail message and cause. Note that the detail message associated with cause is not automatically incorporated in this exception's detail message. Parameters: message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method). cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.) ServiceLoginException public ServiceLoginException(int errorCode) Constructs a new exception with the specified error code Parameters: errorCode - error code identifying the exceptional case ESM Service Layer: Core Services 2.0 Page 176
  • 177. com.arcsight.tools.coma.service Class ValidationException java.lang.Object | +-java.lang.Throwable | +-java.lang.Exception | +-com.arcsight.tools.coma.service.ServiceException | +-com.arcsight.tools.coma.service.ValidationException public class ValidationException extends ServiceException Base class for various validation exceptions to indicate failures to validate different types of data (e.g. password). All Implemented Interfaces: Serializable, Serializable Fields inherited from class com.arcsight.tools.coma.service.ServiceException ERROR_UNKNOWN Constructor Summary public ValidationException() Constructs a new exception with null as its detail message. public ValidationException(String message) Constructs a new exception with the specified detail message. public ValidationException(String message, Map validationErrors) Constructs a new exception with the specified detail message and a map containing error descriptions. Method Summary String getLocalizedMessage() String getMessage() Map getValidationErrors() Returns validationErrors, which is a map of errors found for different items. void setValidationErrors(Map validationErrors) Sets the validationErrors. String toString() ESM Service Layer: Core Services 2.0 Page 177
  • 178. Methods inherited from class com.arcsight.tools.coma.service.ServiceException buildExceptionStackTraceString, createServiceException, getErrorCode, setErrorCode Methods inherited from class java.lang.Throwable fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructors ValidationException public ValidationException() Constructs a new exception with null as its detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable). ValidationException public ValidationException(String message) Constructs a new exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable). Parameters: message - the detail message. The detail message is saved for later retrieval by the getMessage() method. ValidationException public ValidationException(String message, Map validationErrors) Constructs a new exception with the specified detail message and a map containing error descriptions. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable). Parameters: message - the detail message. The detail message is saved for later retrieval by the getMessage() method. validationErrors - Map containing errors found for different items Methods getValidationErrors public Map getValidationErrors() Returns validationErrors, which is a map of errors found for different items. ESM Service Layer: Core Services 2.0 Page 178
  • 179. Returns: the validationErrors errors associated with different properties setValidationErrors public void setValidationErrors(Map validationErrors) Sets the validationErrors. Parameters: validationErrors - the validationErrors to set getMessage public String getMessage() getLocalizedMessage public String getLocalizedMessage() toString public String toString() ESM Service Layer: Core Services 2.0 Page 179
  • 180. Index A AuthContext 71 authenticate 139 AuthenticationException 4 AuthenticationExceptionBean 12 AuthMethod 74, 75 AuthorizationException 5 AuthorizationExceptionBean 14 AuthResponse 76, 77 B buildExceptionStackTraceString 172 BUILTIN 74 C CONAPP_RIGHTS 85 createServiceException 172 Credential 79 E ERROR_UNKNOWN 9, 171 ESM 87 F Friday 118 G GetAllRightsByGroupTypeResponse 16 getAuthContext 19 getAuthenticationMethod 144 getAuthenticationMethodPost 145 getAuthToken 18, 22, 26, 30, 34, 38, 42, 46, 48, 54, 58, 62, 77, 103 getCategory 98 getChallengeId 63 getCreationMillis 103 getCred 19 getCurrentUser 132, 134 getCurrentUserPost 133 getDayOfWeek 100 getDbName 85 getDepartment 114 getDescription 83, 98 getEmail 111 getEndTime 101 getErrorCode 10, 68, 162, 172 getExpirationMillis 104 getExternalLoginId 113 getFallback 71 getFax 114 getFirstName 110 getGroupIds 110 getHour 105 getId 82, 97, 100, 109 getIsActive 112 getIsDefault 83, 112 getLastName 111 getLocalizedMessage 179 getLogin 47, 49, 59, 110 getMessage 12, 14, 69, 179 getMinutes 106 getModule 97 getMustChangePassword 113 getName 83, 97 getNotes 115 getPagerNumber 115 getPassword 47, 49, 93, 112 getPhone 112 getRemoteStacktrace 9 getRequirement 94 getResp 63 getReturn 16, 20, 24, 28, 32, 36, 40, 50, 52, 56, 60, 64 getRightIds 82 getScheduledWorkPeriods 113 getServiceMajorVersion 152, 154, 167, 168 getServiceMajorVersionPost 153 getServiceMinorVersion 155, 157, 167, 169 getServiceMinorVersionPost 156 getSession 135, 137 getSessionPost 136 getStartTime 100 getTitle 114 ESM Service Layer: Core Services 2.0 Page 180
  • 181. getType 83, 97 getUser 77 getUserId 103 getUserIds 82 getUserName 79 getValidationErrors 178 getValue 95 Group 82 H HashMapOfRightListResponse 121 I isCASAuth 138 isCASAuthPost 138 isExternalUserId 75 isLocalPassword 75 isLocked 115 isPasswordChangeRequired 78 isPasswordExpiring 78 isReturn 44 L LOGGER_REPORT 85 LOGGER_RIGHTS 85 LOGGER_SEARCH 85 login 126, 128 LOGIN_CHALLENGE 165 LOGIN_ERROR_FAILURE 164, 175 LOGIN_ERROR_LICENSE_EXPIRED 164, 175 LOGIN_ERROR_PASSWORD_EXPIRED 165 LOGIN_ERROR_USER_DISABLED 164, 175 LOGIN_ERROR_USER_NOT_ALLOWED 165, 175 loginForOneTimeUse 146, 148 loginForOneTimeUsePost 147 loginPost 127 LoginServiceAuthenticate 18 LoginServiceAuthenticateResponse 20 LoginServiceGetAuthenticationMethod 22 LoginServiceGetAuthenticationMethodResponse 24 LoginServiceGetCurrentUser 26 LoginServiceGetCurrentUserResponse 28 LoginServiceGetServiceMajorVersion 30 LoginServiceGetServiceMajorVersionResponse 32 LoginServiceGetServiceMinorVersion 34 LoginServiceGetServiceMinorVersionResponse 36 LoginServiceGetSession 38 LoginServiceGetSessionResponse 40 LoginServiceImpl 126 LoginServiceIsCASAuth 42 LoginServiceIsCASAuthResponse 44 LoginServiceLogin 46 LoginServiceLoginForOneTimeUse 48 LoginServiceLoginForOneTimeUseResponse 50 LoginServiceLoginResponse 52 LoginServiceLogout 54 LoginServiceLogoutResponse 56 LoginServiceResetPassword 58 LoginServiceResetPasswordResponse 60 LoginServiceSendAuthChallengeResponse 62 LoginServiceSendAuthChallengeResponseResponse 64 logout 129, 131 logoutPost 130 M MAXIMUM_LENGTH 90 MINIMUM_DIFFERENCE 91 MINIMUM_LENGTH 90 MINIMUM_LOWER_CASE 90 MINIMUM_NUMERIC 90 MINIMUM_SPECIAL_CHARACTERS 90 MINIMUM_UPPER_CASE 90 ModelLoader 66 Monday 118 O ObjectFactory 67, 122 P PasswordCredential 92 PasswordRequirement 94 PKI 74 PKI_AND_LOCAL_PASSWORD 74 PKI_WITH_PASSWORD_BACKUP 74 ESM Service Layer: Core Services 2.0 Page 181
  • 182. PLATFORM 88 R RADIUS 74 RADIUS_WITH_PASSWORD_BACKUP 74 RemoteServiceException 9 resetPassword 149, 151 resetPasswordPost 150 Right 97 RuntimeCodedException 161 RuntimeLoginException 165, 166 S Saturday 118 ScheduledWorkPeriod 100 sendAuthChallengeResponse 140, 142 sendAuthChallengeResponsePost 141 ServiceBase 168 ServiceException 171, 172 ServiceExceptionBean 68 ServiceLoginException 175, 176 Session 102 setAuthContext 19 setAuthToken 19, 22, 26, 30, 34, 38, 42, 47, 49, 54, 59, 63, 77, 103 setCategory 98 setChallengeId 63 setCreationMillis 104 setCred 19 setDayOfWeek 100 setDepartment 114 setDescription 83, 98 setEmail 111 setEndTime 101 setErrorCode 10, 69, 162, 173 setExpirationMillis 104 setExternalLoginId 113 setExternalUserId 75 setFallback 71 setFax 114 setFirstName 111 setGroupIds 110 setHour 106 setId 82, 97, 100, 109 setIsActive 112 setIsDefault 83, 112 setLastName 111 setLocalPassword 75 setLocked 115 setLogin 47, 49, 59, 110 setMessage 12, 14, 69 setMinutes 106 setModule 97 setMustChangePassword 113 setName 83, 98 setNotes 115 setPagerNumber 115 setPassword 47, 49, 93, 111 setPasswordExpiring 78 setPhone 112 setRemoteStacktrace 10 setRequirement 95 setResp 63 setReturn 16, 20, 24, 28, 32, 36, 40, 44, 50, 52, 56, 60, 64 setRightIds 82 setScheduledWorkPeriods 113 setStartTime 101 setTitle 114 setType 83, 97 setUser 77 setUserId 103 setUserIds 82 setUserName 80 setValidationErrors 179 setValue 95 Sunday 118 SYSTEM_ADMIN 85 T Thursday 118 Time 105 toString 101, 179 Tuesday 118 U User 109 ESM Service Layer: Core Services 2.0 Page 182
  • 183. V ValidationException 178 valueOf 85, 88, 91, 119 values 85, 88, 91, 118 W Wednesday 118 ESM Service Layer: Core Services 2.0 Page 183