public class MultipleHitException extends NoLogonDataAvailableException
This exception is thrown when a lookup for local users being mapped to a given backend user ID results in more than one hit.
See
IUserMapping.getInverseMappingData(String, ISystemLandscapeObject)
and
IUserMapping.getInverseMappingData(String, ISystemLandscapeObject)
.
REASON_ACCESS_DENIED, REASON_CRYPTO_MISMATCH, REASON_KEY_CHANGED, REASON_MULTIPLE_MAPPING, REASON_NO_CERTIFICATE, REASON_NO_DATA, REASON_NO_KEY, REASON_NO_TICKET, REASON_NORMAL_MAPPING_BUT_REFSYS, REASON_NOT_REQUIRED, REASON_POLICY_FILES_MISSING, REASON_REFSYS_MAPPING_SIGNATURE_MISSING, REASON_UNKNOWN, REASON_UNSUPPORTED_LOGON_METHOD
m_throwable, mMessageBuffer
Constructor and Description |
---|
MultipleHitException(String[] userIds)
Create a new
MultipleHitException . |
MultipleHitException(String msg,
String[] userIds)
Create a new
MultipleHitException with an exception message. |
Modifier and Type | Method and Description |
---|---|
String[] |
getUserNames()
Retrieve all local users that are mapped to the backend user for which
inverse user mapping was requested.
|
getReason
addMessage, getLocalizedMessage, getMessage, getMessages, getNestedException
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MultipleHitException(String[] userIds)
MultipleHitException
.userIds
- Array of unique IDs of the local users that are mapped to
the backend user for which inverse user mapping was requested.public MultipleHitException(String msg, String[] userIds)
MultipleHitException
with an exception message.msg
- The Message containing additional information about the
exception.userIds
- Array of unique IDs of the local users that are mapped to
the backend user for which inverse user mapping was requested.public String[] getUserNames()
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] CORE-TOOLS
|
[sap.com]
|
default
|
BC-JAS
|
[sap.com] ENGFACADE
|
[sap.com] tc/je/usermanagement/api
|
api
|
BC-JAS-SEC
|
[sap.com] ENGINEAPI
|
[sap.com]
|
-
|
BC-JAS-SEC-UME
|
[sap.com] ENGINEAPI
|
[sap.com]
|
default
|
BC-JAS-SEC-UME
|
Copyright 2018 SAP AG Complete Copyright Notice