Skip to content
Permalink
Browse files
Minor changes to support changes in identity.
  • Loading branch information
mifosio-04-04-2018 committed May 12, 2017
1 parent f4e5344 commit 929df51e651bfd5960bf40e311da7ea563a8b648
Showing 2 changed files with 7 additions and 1 deletion.
@@ -67,4 +67,10 @@ public static AmitAuthenticationException userPasswordCombinationNotFound() {
public static AmitAuthenticationException passwordExpired() {
return new AmitAuthenticationException("Users password has expired.");
}

@SuppressWarnings("unused") //used in identity
public static AmitAuthenticationException applicationMissingPermissions(final String user, final String application) {
return new AmitAuthenticationException("User '" + user + "' has not given application '"
+ application + "' permission to perform all the requested actions in their name.");
}
}
@@ -27,7 +27,7 @@ public class TokenDeserializationResult {
final private String sourceApplication;
final private String endpointSet;

TokenDeserializationResult(
public TokenDeserializationResult(
final String userIdentifier,
final Date expiration,
final String sourceApplication,

0 comments on commit 929df51

Please sign in to comment.