
ee.bitweb.springframework.security.estonianid.IdCardAuthenticationException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-security-estonian-id Show documentation
Show all versions of spring-security-estonian-id Show documentation
Spring Security support for Estonian ID card and Mobile ID authentication.
The newest version!
package ee.bitweb.springframework.security.estonianid;
import ee.bitweb.springframework.security.estonianid.authentication.IdCardAuthenticationToken;
import org.springframework.security.core.AuthenticationException;
/**
* Created by taavisikk on 5/10/16.
*/
public class IdCardAuthenticationException extends AuthenticationException {
private final IdCardAuthenticationToken token;
public IdCardAuthenticationException(String msg, IdCardAuthenticationToken token, Throwable t) {
super(msg, t);
this.token = token;
}
public IdCardAuthenticationException(String msg, IdCardAuthenticationToken token) {
this(msg, token, null);
}
public IdCardAuthenticationToken getToken() {
return token;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy