
com.daedafusion.security.authentication.providers.TokenExchangeProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of security-framework Show documentation
Show all versions of security-framework Show documentation
A pluggable security framework "inspired" by the OWASP ESAPI framework
package com.daedafusion.security.authentication.providers;
import com.daedafusion.sf.Provider;
import com.daedafusion.security.authentication.AuthenticatedPrincipal;
import com.daedafusion.security.authentication.Subject;
import com.daedafusion.security.authentication.Token;
/**
* Created by mphilpot on 7/15/14.
*/
public interface TokenExchangeProvider extends Provider
{
boolean canExchange(Token token);
AuthenticatedPrincipal exchange(Token token);
Token exchange(Subject subject);
boolean isValidToken(String tokenString);
boolean isTokenValid(Token token);
Token getToken(String tokenString);
String getAuthority();
void destroyToken(Token token);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy