com.sun.xml.ws.security.policy.HttpsToken Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of webservices-rt Show documentation
Show all versions of webservices-rt Show documentation
This module contains the Metro runtime code.
/*
* 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();
}