tvaultapi/src/main/java/com/tmobile/cso/vault/api/v2/controller/SelfSupportController.java
@ApiOperation(value = "${SelfSupportController.listAppRoleEntityAssociations.value}", notes = "${SelfSupportController.listAppRoleEntityAssociations.notes}")
	@GetMapping(value="/v2/ss/approle/list/associations/{role_name}", produces="application/json")
	public ResponseEntity<String> listAppRoleEntityAssociations(HttpServletRequest request, @RequestHeader(value="vault-token") String token, @PathVariable("role_name") String roleName){
		UserDetails userDetails = (UserDetails) request.getAttribute(TVaultConstants.USER_DETAILS);
		return selfSupportService.listAppRoleEntityAssociations(roleName, userDetails);
	}
/**
	 * Retrieves the list of entities that are associated to this AppRole.
	 * Entities include safes, services accounts, and certs.
	 * @param token
	 * @param roleName - The name of the AppRole to get the list of associations for
	 * @return ResponseEntity
	 */
Retrieves the list of entities that are associated to this AppRole.
Entities include safes, services accounts, and certs.
@param token
@param roleName - The name of the AppRole to get the list of associations for
@return ResponseEntity
Retrieves the list of entities that are associated to this AppRole . Entities include safes services accounts and certs . @param token @param roleName - The name of the AppRole to get the list of associations for @return ResponseEntity
@ApiOperation(value = "${SelfSupportController.listAppRoleEntityAssociations.value}", notes = "${SelfSupportController.listAppRoleEntityAssociations.notes}")
	@GetMapping(value="/v2/ss/approle/list/associations/{role_name}", produces="application/json")
	public ResponseEntity<String> listAppRoleEntityAssociations(HttpServletRequest request, @RequestHeader(value="vault-token") String token, @PathVariable("role_name") String roleName){
		UserDetails userDetails = (UserDetails) request.getAttribute(TVaultConstants.USER_DETAILS);
		return selfSupportService.listAppRoleEntityAssociations(roleName, userDetails);
	}
@ ApiOperation ( value = "${SelfSupportController.listAppRoleEntityAssociations.value}" , notes = "${SelfSupportController.listAppRoleEntityAssociations.notes}" ) @ GetMapping ( value = "/v2/ss/approle/list/associations/{role_name}" , produces = "application/json" ) public ResponseEntity < String > listAppRoleEntityAssociations ( HttpServletRequest request , @ RequestHeader ( value = "vault-token" ) String token , @ PathVariable ( "role_name" ) String roleName ) { UserDetails userDetails = ( UserDetails ) request . getAttribute ( TVaultConstants . USER_DETAILS ) ; return selfSupportService . listAppRoleEntityAssociations ( roleName , userDetails ) ; }
Retrieves the list of entities that are associated to this AppRole.
Retrieves the list of entities that are associated to this AppRole .