tvaultapi/src/main/java/com/tmobile/cso/vault/api/service/SelfSupportService.java
public ResponseEntity<String> listAppRoleEntityAssociations(String roleName, UserDetails userDetails) {
		String token = userDetails.getClientToken();
		if (!userDetails.isAdmin()) {
			token = userDetails.getSelfSupportToken();
		}
		return appRoleService.listAppRoleEntityAssociations(roleName, token);
	}
/**
	 * Retrieves the list of entities that are associated to this AppRole.
	 * Entities include safes, services accounts, and certs.
	 * @param roleName - The name of the AppRole to get the list of associations for
	 * @param userDetails
	 * @return ResponseEntity
	 */
Retrieves the list of entities that are associated to this AppRole.
Entities include safes, services accounts, and certs.
@param roleName - The name of the AppRole to get the list of associations for
@param userDetails
@return ResponseEntity
Retrieves the list of entities that are associated to this AppRole . Entities include safes services accounts and certs . @param roleName - The name of the AppRole to get the list of associations for @param userDetails @return ResponseEntity
public ResponseEntity<String> listAppRoleEntityAssociations(String roleName, UserDetails userDetails) {
		String token = userDetails.getClientToken();
		if (!userDetails.isAdmin()) {
			token = userDetails.getSelfSupportToken();
		}
		return appRoleService.listAppRoleEntityAssociations(roleName, token);
	}
public ResponseEntity < String > listAppRoleEntityAssociations ( String roleName , UserDetails userDetails ) { String token = userDetails . getClientToken ( ) ; if ( ! userDetails . isAdmin ( ) ) { token = userDetails . getSelfSupportToken ( ) ; } return appRoleService . listAppRoleEntityAssociations ( roleName , token ) ; }
Retrieves the list of entities that are associated to this AppRole.
Retrieves the list of entities that are associated to this AppRole .