
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
The newest version!
package com.daedafusion.security.authentication;
import java.util.List;
/**
* Created by mphilpot on 7/11/14.
*/
public interface TokenExchange
{
/**
*
* @param tokens array of tokens
* @return valid subject if the exchange could be performed, null otherwise
*/
Subject exchange(Token... tokens);
/**
*
* @param subject
* @return Token list
*/
List exchange(Subject subject);
/**
*
* @param token
* @return true if successful, false otherwise
*/
boolean destroyToken(Token token);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy