Oracle Entitlements Server Provider SSPI API Reference

weblogic.security.spi
Interface ChallengeIdentityAsserterV2


public interface ChallengeIdentityAsserterV2
extends IdentityAsserter

The ChallengeIdentityAsserterV2 interface allows Identity Assertion providers to support authentication protocols such as Microsoft's NTLM, SPNEGO, and other challenge/response authentication mechanisms.

Author:
Copyright © 2004-2008, Oracle and/or its affiliates. All rights reserved.

Fields inherited from class weblogic.security.spi.IdentityAsserter
AU_TYPE, CSI_ANONYMOUS_TYPE, CSI_DISTINGUISHED_NAME_TYPE, CSI_PRINCIPAL_TYPE, CSI_X509_CERTCHAIN_TYPE, SAML_ASSERTION_TYPE, X509_TYPE
 
Method Summary
 ProviderChallengeContext assertChallengeIdentity(java.lang.String tokenType, java.lang.Object token, ContextHandler handler)
          Use the supplied client token to establish client identity, possibly with multiple challenges.
 void continueChallengeIdentity(ProviderChallengeContext context, java.lang.String tokenType, java.lang.Object token, ContextHandler handler)
          Use the supplied provider context and client token to continue establishing client identity
 java.lang.Object getChallengeToken(java.lang.String type, ContextHandler handler)
          Gets the Identity Assertion provider's challenge token.
 
Methods inherited from interface weblogic.security.spi.IdentityAsserter
assertIdentity
 

Method Detail

getChallengeToken

public java.lang.Object getChallengeToken(java.lang.String type,
                                          ContextHandler handler)
Gets the Identity Assertion provider's challenge token.

Parameters:
type - the type of token to use for identity assertion.

handler - a ContextHandler object that can optionally be used by the Identity assertion provider to obtain additional information that may be used in creating the challenge token.
Returns:
the Identity Assertion provider's challenge token, which is null for unsupported token types.


assertChallengeIdentity

public ProviderChallengeContext assertChallengeIdentity(java.lang.String tokenType,
                                                        java.lang.Object token,
                                                        ContextHandler handler)
                                                 throws IdentityAssertionException
Use the supplied client token to establish client identity, possibly with multiple challenges.

Parameters:
tokenType - Name of the token type
token - The token passed as a Java Object
handler - a ContextHandler object that can optionally be user by the Identity assertion provider to obtain additional information that may be used in asserting the challenge identity.
Returns:
The context of the Challenge identity assertion. This result may contain either the callback handler or an additional challenge to which the client must respond.
Throws:
LoginException -  

continueChallengeIdentity

public void continueChallengeIdentity(ProviderChallengeContext context,
                                      java.lang.String tokenType,
                                      java.lang.Object token,
                                      ContextHandler handler)
                               throws IdentityAssertionException
Use the supplied provider context and client token to continue establishing client identity

Parameters:
context - ProviderChallengeContext originally returned from assertChallengeIdentity. The context will be updated and will either contain the c callback handler or another challenge token.
tokenType - Name of the token type
token - The token passed as a Java Object
handler - a ContextHandler object that can optionally be used by the Identity assertion provider to obtain additional information that may be used in asserting the challenge identity.
Throws:
LoginException -