mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-362: Update documentation to reflect code.
This commit is contained in:
committed by
Nick Couchman
parent
1592cf563a
commit
6f04573b84
@@ -71,12 +71,11 @@ public class ConfigurationService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the path to the file that contains the private key
|
* Returns the PrivateKey used to decrypt the credential object
|
||||||
* used to decrypt the credential that is sent encrypted by CAS,
|
* sent encrypted by CAS, or null if no key is defined.
|
||||||
* or null if no key is defined.
|
|
||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
* The path to the private key to decrypt the ClearPass
|
* The PrivateKey used to decrypt the ClearPass
|
||||||
* credential returned by CAS.
|
* credential returned by CAS.
|
||||||
*
|
*
|
||||||
* @throws GuacamoleException
|
* @throws GuacamoleException
|
||||||
|
@@ -42,20 +42,19 @@ public class TicketValidationService {
|
|||||||
private ConfigurationService confService;
|
private ConfigurationService confService;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Validates and parses the given ID ticket, returning the username contained
|
* Validates and parses the given ID ticket, returning the AttributePrincipal
|
||||||
* therein, as defined by the username claim type given in
|
* derived from the parameters provided by the CAS server in the ticket. If the
|
||||||
* guacamole.properties. If the username claim type is missing or the ID
|
* ticket is invalid an exception is thrown.
|
||||||
* ticket is invalid, an exception is thrown instead.
|
|
||||||
*
|
*
|
||||||
* @param ticket
|
* @param ticket
|
||||||
* The ID ticket to validate and parse.
|
* The ID ticket to validate and parse.
|
||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
* The username contained within the given ID ticket.
|
* The AttributePrincipal derived from parameters provided in the ticket.
|
||||||
*
|
*
|
||||||
* @throws GuacamoleException
|
* @throws GuacamoleException
|
||||||
* If the ID ticket is not valid, the username claim type is missing, or
|
* If the ID ticket is not valid or guacamole.properties could
|
||||||
* guacamole.properties could not be parsed.
|
* not be parsed.
|
||||||
*/
|
*/
|
||||||
public AttributePrincipal validateTicket(String ticket) throws GuacamoleException {
|
public AttributePrincipal validateTicket(String ticket) throws GuacamoleException {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user