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

com.hp.autonomy.hod.sso.UnboundTokenService Maven / Gradle / Ivy

There is a newer version: 0.9.2
Show newest version
/*
 * Copyright 2015 Hewlett-Packard Development Company, L.P.
 * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License.
 */

package com.hp.autonomy.hod.sso;

import com.hp.autonomy.hod.client.api.authentication.AuthenticationToken;
import com.hp.autonomy.hod.client.api.authentication.EntityType;
import com.hp.autonomy.hod.client.api.authentication.TokenType;
import com.hp.autonomy.hod.client.error.HodErrorException;

import java.util.UUID;

/**
 * Service for retrieving an unbound authentication token from HP Haven OnDemand
 * @param  The type of unbound token returned by this service
 */
public interface UnboundTokenService {

    /**
     * @return An unbound token from HP Haven OnDemand
     * @throws HodErrorException
     */
    AuthenticationToken getUnboundToken() throws HodErrorException;

    /**
     * @return The UUID of the authentication used to generate unbound tokens
     */
    UUID getAuthenticationUuid() throws HodErrorException;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy