
com.daedafusion.security.authentication.TokenExchange 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;
import com.daedafusion.security.exceptions.InvalidTokenException;
/**
* Created by mphilpot on 7/11/14.
*/
public interface TokenExchange
{
Subject exchange(Token token);
Token exchange(Subject subject);
Token getToken(String tokenString) throws InvalidTokenException;
boolean isTokenValid(Token token);
void destroyToken(Token token);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy