GUACAMOLE-323: Add translation file; hide ticket field header.

This commit is contained in:
Nick Couchman
2017-06-15 20:58:26 -04:00
committed by Nick Couchman
parent 5a763d2a53
commit ab40313ced
3 changed files with 17 additions and 1 deletions

View File

@@ -91,7 +91,7 @@ public class AuthenticationProviderService {
// Request CAS ticket
throw new GuacamoleInsufficientCredentialsException(
"Please wait, redirecting to CAS authentication.",
"LOGIN.INFO_CAS_REDIRECT_PENDING",
new CredentialsInfo(Arrays.asList(new Field[] {
// CAS-specific ticket (will automatically redirect the user

View File

@@ -9,6 +9,10 @@
"org.apache.guacamole.auth.cas.CASAuthenticationProvider"
],
"translations" : [
"translations/en.json"
],
"js" : [
"casModule.js",
"casController.js",

View File

@@ -0,0 +1,12 @@
{
"DATA_SOURCE_CAS" : {
"NAME" : "CAS SSO Backend"
},
"LOGIN" : {
"FIELD_HEADER_TICKET" : "",
"INFO_CAS_REDIRECT_PENDING" : "Please wait, redirecting to CAS authentication."
}
}