forked from apereo/cas
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support RSA Securid through PAP protocol
- handle properly AccessChallenge in JRadius implementation - distinguish token change with custom TokenChangeException - provide tokenChange variable in webflow context to distinguish info from error - add handling of authentication errors in case of error
- Loading branch information
Showing
8 changed files
with
125 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
...upport-radius-core/src/main/java/org/apereo/cas/adaptors/radius/TokenChangeException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package org.apereo.cas.adaptors.radius; | ||
|
||
import javax.security.auth.login.LoginException; | ||
|
||
/** | ||
* Exception indicating that provided login credentials are not complete and should provided again with changed token. | ||
*/ | ||
public class TokenChangeException extends LoginException { | ||
|
||
private static final long serialVersionUID = 0; | ||
|
||
/** | ||
* Constructs a {@link TokenChangeException} with the specified detail message. | ||
* A detail message is a String that describes change required from authentication backend. | ||
* | ||
* <p> | ||
* | ||
* @param msg instruction for complete authentication. | ||
*/ | ||
public TokenChangeException(String msg) { | ||
super(msg); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters