
com.daedafusion.security.authentication.impl.DefaultToken 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.impl;
import com.daedafusion.security.authentication.Token;
import org.apache.log4j.Logger;
/**
* Created by mphilpot on 7/28/14.
*/
public class DefaultToken implements Token
{
private static final Logger log = Logger.getLogger(DefaultToken.class);
private final String tokenString;
private final String authority;
public DefaultToken(String authority, String tokenString)
{
this.authority = authority;
this.tokenString = tokenString;
}
@Override
public String getAuthority()
{
return authority;
}
@Override
public String getTokenString()
{
return tokenString;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy