CASC-155
upgrade to Seraph 2.5 and attempt to fix class cast
This commit is contained in:
parent
6a98fc61a5
commit
29165243a5
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue