| Modifier and Type | Method and Description |
|---|---|
boolean |
AllApiExample.adduserToUserGroup() |
boolean |
AllApiExample.approvePasswordRequests() |
boolean |
AllApiExample.associateResources() |
boolean |
AllApiExample.changePasswordOfAccount() |
boolean |
AllApiExample.checkInAsAdmin() |
boolean |
AllApiExample.checkInAsUser() |
boolean |
AllApiExample.checkOut() |
boolean |
AllApiExample.createAccount() |
boolean |
AllApiExample.createDynamicGroup() |
boolean |
AllApiExample.createResource() |
boolean |
AllApiExample.createStaticgroup() |
boolean |
AllApiExample.createUser() |
boolean |
AllApiExample.deleteAccount() |
boolean |
AllApiExample.deleteResource() |
boolean |
AllApiExample.deleteResourceGroup() |
boolean |
AllApiExample.deleteUser() |
boolean |
AllApiExample.deleteUserGroup() |
boolean |
AllApiExample.disassociateResources() |
boolean |
AllApiExample.downloadfile() |
boolean |
AllApiExample.editAccount() |
boolean |
AllApiExample.editResource() |
boolean |
AllApiExample.editUser() |
boolean |
AllApiExample.fetchAllResourceGroups() |
boolean |
AllApiExample.generatePassword() |
boolean |
AllApiExample.getAccountDetails() |
boolean |
AllApiExample.getAccountsOfResource() |
boolean |
AllApiExample.getAssociatedGroups() |
boolean |
AllApiExample.getauditDetails() |
boolean |
AllApiExample.getID() |
boolean |
AllApiExample.getPasswordOfAccount() |
boolean |
AllApiExample.getPasswordPolicies() |
boolean |
AllApiExample.getPasswordRequests() |
boolean |
AllApiExample.getResourceAndAccountId() |
boolean |
AllApiExample.getResourceGroupId() |
boolean |
AllApiExample.getResourceTypes() |
boolean |
AllApiExample.getSharedResources() |
boolean |
AllApiExample.getUsergroupId() |
boolean |
AllApiExample.getUserId() |
boolean |
AllApiExample.lockUser() |
static void |
AllEntitiesUsageExample.main(java.lang.String[] args) |
org.json.JSONObject |
AllApiExample.regenerateRestToken() |
boolean |
AllApiExample.rejectPasswordRequests() |
boolean |
AllApiExample.removeFromUsergroup() |
boolean |
AllApiExample.requestPasswordApproval() |
boolean |
AllApiExample.resetMFA() |
boolean |
AllApiExample.shareResourceToUser() |
boolean |
AllApiExample.shareToUser() |
boolean |
AllApiExample.sharetoUserGroup() |
boolean |
AllApiExample.shareToUsergroup() |
boolean |
AllApiExample.unlockUser() |
boolean |
AllApiExample.validatePassword() |
| Constructor and Description |
|---|
AllApiExample() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<AuditDetails> |
Audit.getAuditDetails(AuditModel auditModel)
Get all audit details
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Certificate.add(Certificate.FileType fileType,
java.lang.String password,
java.lang.String filePath)
Add a new certificate file
|
boolean |
SSHKey.associate(java.lang.String keyName,
java.lang.String resourceName,
java.lang.String accountName)
Associate a key to an account under a resource
|
boolean |
SSHKey.create(SSHKeyModel sshKeyModel)
Create a new SSH key
|
boolean |
Certificate.createCertificate(CertificateModel certificate)
Create a new certificate
|
boolean |
Certificate.createCSR(CertificateModel certificate)
Create a new certificate signing request
|
boolean |
SSHKey.delete(java.lang.String keyName,
boolean withoutDisassociation)
Delete an SSH Key
|
boolean |
Certificate.delete(java.lang.String commonName,
java.lang.String serialNumber)
Delete a certificate
|
boolean |
SSHKey.disassociate(java.lang.String keyName,
java.lang.String resourceName,
java.lang.String accountName)
Disassociate the key associated to an account under a resource
|
java.lang.String |
SSHKey.exportKey(java.lang.String keyName)
Get the contents of a key
|
java.util.List<AssociatedUser> |
SSHKey.fetchAssociatedUsers()
Fetch the list of users (accounts under resource) and their associated key
|
java.lang.String |
Certificate.get(java.lang.String commonName,
java.lang.String serialNumber)
Get a certificates content
|
java.util.List<CertificateInfo> |
Certificate.getAll()
Get information about all added certificates
|
java.util.List<CertificateExpiryInfo> |
Certificate.getAllExpiry()
Get Expiration details of all the added certificates
|
java.util.List<SSHKeyDetails> |
SSHKey.getAllKeys()
Get all ssh keys added by the user
|
java.util.List<java.lang.String> |
SSHKey.getKeyForUser(java.lang.String resourceName,
java.lang.String userName)
Get the keys associated to users (accounts) under a resource
|
java.lang.String |
Certificate.getKeystore(java.lang.String commonName,
java.lang.String serialNumber)
Get the keystore file content
|
SSHKeyDetails |
SSHKey.getParticularKey(java.lang.String keyName)
Fetch a particular key by its name
|
java.lang.String |
Certificate.getPassphrase(java.lang.String commonName,
java.lang.String serialNumber)
Get the passphrase of a certificate
|
boolean |
SSHKey.importKey(java.lang.String keyName,
java.lang.String passPhrase,
java.lang.String filePath)
Import a key file
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
AccessControl.approvePasswordRequests(java.lang.String accountName,
java.lang.String resourceName,
java.lang.String requesterName)
Approve the password request for account requested by user
|
boolean |
ResourceGroup.associateResources(java.util.ArrayList<java.lang.String> resourceNames,
java.lang.String groupName,
java.lang.String userName)
associate the resources to static group
|
boolean |
ResourceGroup.associateResources(java.util.ArrayList resourceIds,
java.lang.Long groupId)
associate the resources to static group
|
boolean |
Password.changePasswordOfAccount(java.lang.String resourceName,
java.lang.String accountName,
java.lang.String newPassword,
sdkEnumConstants.ResetType resetType)
Change the password of the account under a resource using resource and account name
|
boolean |
Password.changePasswordOfAccount(java.lang.String resourceName,
java.lang.String accountName,
java.lang.String newPassword,
sdkEnumConstants.ResetType resetType,
java.lang.String reason,
java.lang.Long ticketID)
Change the password of the account under a resource using resource and account name
|
boolean |
AccessControl.checkInasAdmin(java.lang.String resourceName,
java.lang.String accountName,
java.lang.String requesterName)
Check in the password requested for account from user by admin
|
boolean |
AccessControl.checkInasUser(java.lang.String resourceName,
java.lang.String accountName)
Check in the password requested for account by user
|
java.lang.String |
AccessControl.checkOut(java.lang.String accountName,
java.lang.String resourceName,
java.lang.String reason)
Check out the password requested for account
|
org.json.JSONObject |
Account.createAccount(java.lang.String resourceName,
java.util.List<AccountModel> accountModels)
Create an account under a resource
|
CreateResourceDetails |
Resource.createResource(ResourceModel resourceModel)
Create a new resource with provided attributes
|
boolean |
ResourceGroup.createResourceGroup(ResourceGroupModel resourceGroupModel)
Create a dynamic resource group based on criteria and static group
|
boolean |
Account.deleteAccount(java.lang.String resourceName,
java.lang.String accountName)
Delete an account under a resource using resource and account name
|
boolean |
Resource.deleteResource(long resourceId)
Delete the Resource using resource id
|
boolean |
Resource.deleteResource(java.lang.String resourceName)
Delete the Resource using resource name
|
boolean |
ResourceGroup.deleteResourceGroup(long groupId)
Delete the Resourcegroup using resource id
|
boolean |
ResourceGroup.deleteResourceGroup(java.lang.String groupName,
java.lang.String userName)
Delete the Resourcegroup using group name
|
boolean |
ResourceGroup.disassociateResources(java.util.ArrayList<java.lang.String> resourceNames,
java.lang.String groupName,
java.lang.String userName)
disassociate the resources to static group
|
boolean |
ResourceGroup.disassociateResources(java.util.ArrayList resourceIds,
java.lang.Long groupId)
disassociate the resources to static group
|
org.json.JSONObject |
Resource.downloadFile(java.lang.String resourceName,
java.lang.String accountName,
java.lang.String reason)
To get contents of files, keys, certificates, etc.
|
org.json.JSONObject |
Resource.downloadFile(java.lang.String resourceName,
java.lang.String accountName,
java.lang.String reason,
boolean isCustomField,
sdkEnumConstants.CustomFieldType customFieldType,
java.lang.String customFieldLabel)
To get contents of files, keys, certificates, etc.
|
org.json.JSONObject |
Resource.downloadFile(java.lang.String resourceName,
java.lang.String accountName,
java.lang.String reason,
long ticketId)
To get contents of files, keys, certificates, etc.
|
org.json.JSONObject |
Resource.downloadFile(java.lang.String resourceName,
java.lang.String accountName,
java.lang.String reason,
long ticketId,
boolean isCustomField,
sdkEnumConstants.CustomFieldType customFieldType,
java.lang.String customFieldLabel)
To get contents of files, keys, certificates, etc.
|
boolean |
Account.editAccount(java.lang.String resourceName,
java.lang.String currentAccountName,
AccountModel accountModel)
Edit an existing account under a resource using resource name and account name
|
boolean |
Resource.editResource(java.lang.String resourceName,
ResourceModel resourceModel)
Edit already existing resource
|
org.json.JSONArray |
ResourceGroup.fetchAllResourceGroups(long limit,
long startIndex,
sdkEnumConstants.SearchType searchType,
sdkEnumConstants.SearchColumn searchColumn,
java.lang.String searchValue)
to fetch all resource groups matching the given value under given column name
|
java.lang.String |
Password.generate(java.lang.String policy)
Generate password based on the password policy
|
long |
AccessControl.getAccountId(java.lang.String resourceName,
java.lang.String accountName)
to get account id of particular resource
|
java.util.List<AccountOfResource> |
Resource.getAccounts(long resourceId)
Get the accounts that are part of a resource using resource id
|
java.util.List<AccountOfResource> |
Resource.getAccounts(java.lang.String resourceName)
Get the accounts that belongs to the resource using resource name
|
org.json.JSONObject |
Resource.getAllResourceTypes(org.json.JSONArray resTypeNames)
To list all the resource types in the organization.
|
org.json.JSONObject |
Resource.getassociatedResourceGroups(java.lang.String resourceName)
get resource group names of the particular resource associated
|
AccountDetails |
Account.getDetails(long resourceID,
long accountID)
Get the details of an account in a resource
|
AccountDetails |
Account.getDetails(java.lang.String resourceName,
java.lang.String accountName)
Get the details of an account under a resource
|
java.lang.String |
Password.getPasswordOfAccount(java.lang.String resourceName,
java.lang.String accountName)
Get the password of the account under a resource using resource and account name
|
java.lang.String |
Password.getPasswordOfAccount(java.lang.String resourceName,
java.lang.String accountName,
java.lang.String reason)
Get the password of the account under a resource using resource and account name
|
java.lang.String |
Password.getPasswordOfAccount(java.lang.String resourceName,
java.lang.String accountName,
java.lang.String reason,
long ticketID)
Get the password of the account under a resource using resource and account name
|
org.json.JSONObject |
Password.getPasswordPolicies()
To list all the password policies in the organization.
|
java.util.List<PasswordRequestDetails> |
AccessControl.getPasswordRequests()
Get the password requests waiting to be approved
|
java.util.List<PasswordRequestDetails> |
AccessControl.getPasswordRequests(java.lang.String reason,
long ticketId)
Get the password requests waiting to be approved
|
ResourceAccountID |
Resource.getResourceAndAccountID(java.lang.String resourceName,
java.lang.String accountName)
Get the unique ID of the resource and account
|
long |
ResourceGroup.getResourceGroupID(java.lang.String groupName,
java.lang.String userName)
Get the ID of the particular group
|
long |
Resource.getResourceID(java.lang.String resourceName)
Get the unique ID of the resource
|
java.util.List<ResourceDetails> |
Resource.getSharedResources()
To get the list of resources which are owned by or shared to the user.
|
boolean |
AccessControl.rejectPasswordRequest(java.lang.String accountName,
java.lang.String resourceName,
java.lang.String requesterName)
Reject the password request for account requested by user
|
java.lang.String |
AccessControl.requestPasswordApproval(java.lang.String resourceName,
java.lang.String accountName,
java.lang.String reason)
Send request for password approval for an account
|
boolean |
Account.shareAccountToUser(java.lang.String resourceName,
java.lang.String accountName,
java.lang.String userName,
sdkEnumConstants.AccessPermission accessPermission)
Share the account to a particular user using resource, account and user names
|
boolean |
Account.shareAccountToUserGroup(java.lang.String resourceName,
java.lang.String accountName,
java.lang.String userGroupName,
sdkEnumConstants.AccessPermission accessPermission)
Share the account to a particular usergroup using resource, account and user names
|
boolean |
Resource.shareResourceToUsergroup(java.lang.String resourceName,
sdkEnumConstants.AccessPermission accessPermission,
java.lang.String usergroupName)
share a resource to usergroup
|
boolean |
Resource.sharerResourceToUser(java.lang.String resourceName,
java.lang.String userName,
sdkEnumConstants.AccessPermission accessPermission)
Share a resource to an user using resource and user name
|
boolean |
Password.validatePassword(java.lang.String password,
sdkEnumConstants.PasswordPolicy passwordPolicy)
To validate the given password based on password policy
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultClientConfigHandler.createNewConfiguration(java.lang.String clientDetails) |
void |
ClientConfigurationHandler.createNewConfiguration(java.lang.String clientContent)
Used by the PAM Service to check whether the client's configuration details are available
|
static void |
PAMSDKLogger.enableLogger()
Enable the PAMSDKLogger by calling this method
|
java.lang.String |
DefaultClientConfigHandler.getConfigurationContent() |
java.lang.String |
ClientConfigurationHandler.getConfigurationContent()
Used by the PAM Service to get the registered client's details
|
void |
DefaultClientConfigHandler.removeConfiguration() |
void |
ClientConfigurationHandler.removeConfiguration()
Remove the stored configuration
|
PMPResponse |
RESTHandler.sendRequest(java.lang.String restPath,
HttpRequestMethod method,
java.util.Map<java.lang.String,java.lang.String> bodyParams,
java.util.Map<java.lang.String,java.lang.String> headerParams,
java.util.Map<java.lang.String,java.lang.String> queryParams) |
PMPResponse |
APIRequestHandler.sendRequest(java.lang.String restPath,
HttpRequestMethod method,
java.util.Map<java.lang.String,java.lang.String> bodyParams,
java.util.Map<java.lang.String,java.lang.String> headerParams,
java.util.Map<java.lang.String,java.lang.String> queryParams) |
static void |
PAMSDKLogger.setLogLocation(java.lang.String filePath)
Set the location for the log file, by default the log files will be under the current working directory
|
| Constructor and Description |
|---|
ClientRegistrationManager(ServiceConfiguration configurations)
Default constructor
|
PAMService(ServiceConfiguration configurations,
java.lang.String authToken)
Default constructor
|
PAMService(ServiceConfiguration configurations,
java.lang.String authToken,
java.lang.String orgName)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
User.addToUserGroup(java.lang.String userName,
java.lang.String userGroupName)
Add the user to the user group
|
boolean |
User.addUserToGroup(java.lang.String userName,
java.lang.String userGroupName)
Add the user to the user group of a particular organization
|
UserDetails |
User.createUser(UserModel userModel)
Create an user with specified properties
|
boolean |
User.deleteUser(long userId)
Delete an user using user ID
|
boolean |
User.deleteUser(java.lang.String userName)
Delete an user using UserName
|
org.json.JSONObject |
User.deleteuserGroup(java.util.ArrayList<java.lang.String> userGroupNames)
remove the user from the user group of a particular organization
|
org.json.JSONObject |
User.deleteUserGroup(org.json.JSONArray userGroupIds)
remove the user from the user group of a particular organization
|
UserDetails |
User.editUser(java.lang.String userName,
UserModel userModel)
Edit a user with specified properties
|
long |
User.getusergroupID(java.lang.String groupName)
Get the ID of the particular group
|
long |
User.getUserID(java.lang.String userName)
Get the ID of the particular user
|
boolean |
User.lockUser(java.lang.String username)
Lock a particular user using username
|
org.json.JSONObject |
User.regenerateRestToken()
To regenerate authToken for a user
|
org.json.JSONObject |
User.removeFromUserGroup(java.util.ArrayList<java.lang.String> userNames,
java.lang.String usergroupName)
remove the user from the user group of a particular organization
|
boolean |
User.resetMFA(java.lang.String userName)
To reset two-factor authentication for a username.
|
boolean |
User.unlockUser(java.lang.String username)
Unlock a locked user using username
|