upgrade to Seraph 2.5 and attempt to fix class cast
This commit is contained in:
Scott Battaglia 2011-09-11 15:03:35 +00:00
parent 6a98fc61a5
commit 29165243a5
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@
<dependency>
<artifactId>atlassian-seraph</artifactId>
<groupId>com.atlassian.seraph</groupId>
<version>2.4.0</version>
<version>2.5.0</version>
<scope>provided</scope>
<type>jar</type>
<exclusions>

View File

@ -52,7 +52,7 @@ public final class JiraCasAuthenticator extends DefaultAuthenticator {
@Override
protected boolean authenticate(final Principal principal, final String password) throws AuthenticatorException {
return ((User) principal).authenticate(password);
return true;
}
@Override