|
SAP Convergent Charging
Java and XML APIs (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.highdeal.hci.AuthenticateUserResult
public class AuthenticateUserResult
This class represents the result of the Authenticate User operation;
It contains the definition of the authenticated SAP CC user with
granted authorization.
If the advanced password management feature is enabled, this result will also
contain the time left before the expiration of the password of the user.
If user sessions are enabled and if a tool name was specified in the corresponding
Authenticate User operation request, this result contains a session identifier generated
by the connected SAP CC system, which identifies a session for the SAP CC user and tool specified in the authentication operation.
The session identifier returned by this result can be used later in the MessageOriginator
of an envelope to specify that it belongs to the user session.
If the corresponding Authenticate User operation has the attribute
toolName set, the authentication result will also contain
any failed authentication attempts which occurred
since the last successful authentication with this attribute set.
The result depends on the values of the PASSWORD_MANAGEMENT_ENABLED and USER_SESSION_ENABLED system parameters.
Use the SAP CC Admin+ user interface and the get>/code> command to retrieve the
current values in the running SAP CC system.
Consult the SAP CC Configuration Guide for more information about the settings for the management of SAP CC users.
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="authenticateUserResult">
<xs:complexType>
<xs:sequence>
<xs:element ref="user" minOccurs="0" maxOccurs="1"/>
<xs:element ref="authorization" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="failedAuthentication" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="recordDate" type="xs:dateTime" use="required" />
<xs:attribute name="sourceAddress" type="xs:string" use="required" />
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="passwordExpiration" type="xs:decimal"/>
</xs:complexType>
</xs:element>
| Nested Class Summary | |
|---|---|
static class |
AuthenticateUserResult.FailedAuthenticationModel
Represents a failed authentication attempt, including a record date and a source address. |
| Field Summary | |
|---|---|
static java.lang.String |
OPERATION_NAME
|
| Constructor Summary | |
|---|---|
AuthenticateUserResult()
|
|
| Method Summary | |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds character data to the content element. |
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child to the object, the child representing
the marshallable object which must be added to the element. |
java.util.List<AuthorizationModel> |
getAuthorizations()
Gets the list of authorization identifiers of the SAP CC user |
java.util.Vector<AuthenticateUserResult.FailedAuthenticationModel> |
getFailedAuthentications()
Gets the list of failed authentication attempts |
java.lang.String |
getOperandReference()
Gets the code or the reference (if no code exists) that identifies the operand of the operation request; If the operation is not auditable, the operand reference is null. |
int |
getPasswordExpiration()
Gets the delay before expiration of the password |
java.lang.String |
getSessionId()
Gets the user session identifier |
UserModel |
getUser()
Gets the user definition |
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children. |
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being processed. |
void |
setFailedAuthentications(java.util.Vector<AuthenticateUserResult.FailedAuthenticationModel> failedAuthentications)
Sets the list of failed authentication attempts |
void |
setPasswordExpiration(int passwordExpiration)
Sets the delay before expiration of the password |
void |
setSessionId(java.lang.String sessionId)
Sets the user session identifier |
void |
setUser(XMLMarshallable userModel)
Sets the user definition |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String OPERATION_NAME
| Constructor Detail |
|---|
public AuthenticateUserResult()
| Method Detail |
|---|
public UserModel getUser()
public int getPasswordExpiration()
public java.lang.String getOperandReference()
OperationResultnull.
getOperandReference in interface OperationResultpublic void setUser(XMLMarshallable userModel)
userModel - The user definitionpublic java.util.List<AuthorizationModel> getAuthorizations()
authorization identifiers of the SAP CC user
public java.lang.String getSessionId()
public void setSessionId(java.lang.String sessionId)
sessionId - The user session identifierpublic void setPasswordExpiration(int passwordExpiration)
passwordExpiration - The delay before expiration of the passwordpublic java.util.Vector<AuthenticateUserResult.FailedAuthenticationModel> getFailedAuthentications()
public void setFailedAuthentications(java.util.Vector<AuthenticateUserResult.FailedAuthenticationModel> failedAuthentications)
failedAuthentications - The list of failed authentication attemptspublic void setAttributes(XMLAttributes atts)
XMLMarshallable
setAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void addCharacterData(java.lang.String cData)
XMLMarshallable
addCharacterData in interface XMLMarshallablecData - The character data to be added
public void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.
addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void marshal(XMLOutputter output)
XMLMarshallable
marshal in interface XMLMarshallableoutput - The XML output to marshal the object into
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||