|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AppChallengeContext
The AppChallengeContext
interface allows the Authentication to return an object that contains state and is used for subsequent steps in a multi-step challenge/response process. This allows the framework to support authentication protocols such as Microsoft's Windows NT Challenge/Response (NTLM), Simple and Protected GSS-API Negotiation Mechanism (SPNEGO), and other challenge/response authentication mechanisms.
Method Summary | |
---|---|
abstract Subject |
getAuthenticatedSubject() Returns the authenticated subject for the challenge identity assertion. |
abstract Object |
getChallengeToken() Returns the challenge token for the challenge identity assertion. |
abstract boolean |
hasChallengeIdentityCompleted() Returns whether the challenge identity assertion has completed. |
Method Detail |
---|
boolean hasChallengeIdentityCompleted()
Returns whether the challenge identity assertion has completed.
true
if the challenge identity assertion has completed, false
if not. If true
, then the caller should use the getAuthenticatedSubject()
method. If false
, then the caller should use the getChallengeToken()
method.Subject getAuthenticatedSubject()
Returns the authenticated subject for the challenge identity assertion. This method should only be called when the hasChallengeIdentityCompleted()
method returns true
. If called incorrectly, then an IllegalStateException
runtime exception will be thrown.
javax.security.auth.Subject
related to the identity.Object getChallengeToken()
Returns the challenge token for the challenge identity assertion. This method should only be called when the hasChallengeIdentityCompleted()
method returns false
. If called incorrectly, then an IllegalStateException
runtime exception will be thrown.
|
Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |