All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.gdface.facelog.LocalTokenContextOp Maven / Gradle / Ivy

There is a newer version: 5.3.0
Show newest version
package net.gdface.facelog;

class LocalTokenContextOp extends CurrentTokenContextOp {
	private static final LocalTokenContextOp INSTANCE = new LocalTokenContextOp();
    static void initCurrentTokenContextOp(){
    	CurrentTokenContextOp.setInstance(LocalTokenContextOp.INSTANCE);
    }
	private  LocalTokenContextOp() {
	}

	@Override
	void currentToken(Token token) {
		TokenContext.getCurrentTokenContext().setToken(token);
	}

	@Override
	void currentTokenOp(TokenOp tokenOp) {
		TokenContext.getCurrentTokenContext().setTokenOp(tokenOp);
	}

	@Override
	void currentError(ServiceSecurityException error) {
		TokenContext.getCurrentTokenContext().setError(error);
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy