public class

IdentityModule

extends AbstractWorkdayModule
java.lang.Object
   ↳ org.mule.modules.workday.AbstractWorkdayModule
     ↳ org.mule.modules.workday.identity.IdentityModule
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

The Identity Management Web Service contains operations that relate to Workday Identity and Access Management.

Summary

Fields
private IdentityManagementPort client The client, mainly for mocking purposes.
private String username The Workday account's username
Public Constructors
IdentityModule()
Public Methods
void connect(String identityUser, String identityPassword, String identityEndpoint, String identityWsdlLocation)
Connects to Workday
void disconnect()
Disconnects
IdentityManagementPort getClient()
String getConnectionIdentifier()
Connection identifier
GetUnidentifiedSignonsResponseType getUnidentifiedSignons(GetUnidentifiedSignonsRequestType unidentifiedSignonsRequest)
Gets all Unidentified Signon attempts for the specified criteria.
String getUsername()
GetWorkdayAccountSignonsResponseType getWorkdayAccountSignons(GetWorkdayAccountSignonsRequestType workdayAccountSignonsRequest)
Gets all Signon or Signon attempts for the specified criteria when the provided User Name was associated with a valid Workday Account.
void setClient(IdentityManagementPort client)
void setClient(Object client)
void setUsername(String username)
boolean validateConnection()
Validate connection
[Expand]
Inherited Methods
From class org.mule.modules.workday.AbstractWorkdayModule
From class java.lang.Object

Fields

private IdentityManagementPort client

The client, mainly for mocking purposes. *

private String username

The Workday account's username

Public Constructors

public IdentityModule ()

Public Methods

public void connect (String identityUser, String identityPassword, String identityEndpoint, String identityWsdlLocation)

Connects to Workday

Parameters
identityUser Workday user
identityPassword Workday password
identityEndpoint Workday endpoint
identityWsdlLocation Workday WSDL location
Throws
ConnectionException

public void disconnect ()

Disconnects

public IdentityManagementPort getClient ()

public String getConnectionIdentifier ()

Connection identifier

Returns
  • connection identifier

public GetUnidentifiedSignonsResponseType getUnidentifiedSignons (GetUnidentifiedSignonsRequestType unidentifiedSignonsRequest)

Gets all Unidentified Signon attempts for the specified criteria. An Unidentified Signon is an attempt to authenticate with a user name that is not associated with a valid Workday Account. The response includes specific information about the Unidentified Signon including the Signon DateTime and User Name. The time range specified in the request criteria must be less than 24 hours. The operation does not support criteria based requests with an As_Of_Entry_DateTime in the past, unless for paging consistency the As_Of_Entry_DateTime matches the page 1 request.

Parameters
unidentifiedSignonsRequest Request element
Returns
  • response element
Throws
WorkdayException If an error during the operation occurs this exception is thrown

public String getUsername ()

public GetWorkdayAccountSignonsResponseType getWorkdayAccountSignons (GetWorkdayAccountSignonsRequestType workdayAccountSignonsRequest)

Gets all Signon or Signon attempts for the specified criteria when the provided User Name was associated with a valid Workday Account. Signon attempts where an unidentified (invalid) User Name was provided are not included. The response includes specific information about the Signon including the Signon DateTime, the Signon IP Address and the associated Workday Account. The time range specified in the request criteria must be less than 24 hours. The operation does not support criteria based requests with an As_Of_Entry_DateTime in the past, unless for paging consistency the As_Of_Entry_DateTime matches the page 1 request.

Parameters
workdayAccountSignonsRequest Request element
Returns
  • response element
Throws
WorkdayException If an error during the operation occurs this exception is thrown

public void setClient (IdentityManagementPort client)

Parameters
client

public void setClient (Object client)

Parameters
client

public void setUsername (String username)

Parameters
username

public boolean validateConnection ()

Validate connection

Returns
  • true if the connector is connected