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

com.sun.xml.ws.security.policy.HttpsToken Maven / Gradle / Ivy

/*
 * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Distribution License v. 1.0, which is available at
 * http://www.eclipse.org/org/documents/edl-v10.php.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

package com.sun.xml.ws.security.policy;

/**
 *
 * @author [email protected]
 */
public interface HttpsToken extends Token {

    /**
     * returns value of RequireClientCertificate attribute for 2005/07 SP version 
     * or true if RequireClientCertificate assertion is present in SP 1.2 version 
     * @return true or false
     */
    public boolean isRequireClientCertificate();

    /**
     * valid for SecurityPolicy 1.2 only
     * returns true if HttpBasicAuthentication nested policy assertion is present 
     * @return true or false
     */
    public boolean isHttpBasicAuthentication();

    /**
     * valid for SecurityPolicy 1.2 only
     * returns true if HttpDigestAuthentication nested policy assertion is present
     * @return true or false
     */
    public boolean isHttpDigestAuthentication();

    /**
     * returns the issuer for the X509 token.
     * @return returns the issuer
     */
    public Issuer getIssuer();

    /**
     * 
     * @return the issuer name for X509 token
     */
    public IssuerName getIssuerName();
    
    /**
     * 
     * @return Claims
     */ 
    public Claims getClaims();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy