
com.boozallen.aissemble.security.authorization.AissembleSecureTokenServiceClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of extensions-authzforce Show documentation
Show all versions of extensions-authzforce Show documentation
Authzforce implementation of a Policy Decision Point (PDP)
The newest version!
package com.boozallen.aissemble.security.authorization;
/*-
* #%L
* aiSSEMBLE::Extensions::Security::Authzforce::Extensions::Security::Authzforce
* %%
* Copyright (C) 2021 Booz Allen
* %%
* This software package is licensed under the Booz Allen Public License. All Rights Reserved.
* #L%
*/
import io.jsonwebtoken.Claims;
import io.jsonwebtoken.Jws;
/**
* Interface for an aissemble token service client.
*/
public interface AissembleSecureTokenServiceClient {
/**
* Authenticates a user.
* @param username
* @param password
* @return a token if authenticated successfully
*/
public String authenticate(String username, String password);
/**
* Convert Json string to jwt.
* @param token
* @return a parsed token
*/
public Jws parseToken(String token);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy