Skip to content

Commit

Permalink
Merge pull request #137 from battags/CAS-1191
Browse files Browse the repository at this point in the history
CAS-1191
  • Loading branch information
leleuj committed Sep 21, 2012
2 parents 57d9f24 + 16156c1 commit 354d502
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,12 @@ public SamlAuthenticationMetaDataPopulator() {
AUTHN_METHOD_X509_PUBLICKEY);
}

public final Authentication populateAttributes(
final Authentication authentication, final Credentials credentials) {
public final Authentication populateAttributes(final Authentication authentication, final Credentials credentials) {

final String credentialsClass = credentials.getClass().getName();
final String authenticationMetehod = this.authenticationMethods
.get(credentialsClass);
final String authenticationMethod = this.authenticationMethods.get(credentialsClass);

authentication.getAttributes().put(ATTRIBUTE_AUTHENTICATION_METHOD,
authenticationMetehod);
authentication.getAttributes().put(ATTRIBUTE_AUTHENTICATION_METHOD, authenticationMethod);

return authentication;
}
Expand Down

0 comments on commit 354d502

Please sign in to comment.