|
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 |
java.lang.Object
weblogic.security.services.Authentication
public final class Authentication
Server side Authentication service.
Method Summary | |
---|---|
AppChallengeContext |
assertChallengeIdentity(String tokenType, Object token, AppContext appContext) Use the supplied client token to establish client identity |
static Subject |
assertIdentity(String tokenType, Object token) Use the supplied client token to establish client identity |
static Subject |
assertIdentity(String tokenType, Object token, AppContext appContext) Use the supplied client token to establish client identity |
static Subject |
assertIdentity(String realmName, String tokenType, Object token) Deprecated. 12.2.1.0 |
static Subject |
assertIdentity(String realmName, String tokenType, Object token, AppContext appContext) Deprecated. 12.2.1.0 |
void |
continueChallengeIdentity(AppChallengeContext context, String tokenType, Object token, AppContext appContext) Use the supplied context, client token to continue establishing client identity |
Object |
getChallengeToken(String tokenType, AppContext appContext) If the security provider's identity assertion mapped types includes the type requested and the provider's identity asserter implements the ChallengeIdentityAsserterV2 interface this method returns the identity challenge token associated with the specified token type name. |
static Subject |
login(CallbackHandler callbackHandler) Authenticate the user and return credentials using the default realm. |
static Subject |
login(CallbackHandler callbackHandler, AppContext appContext) Authenticate the user and return credentials using the default realm. |
static Subject |
login(String realmName, CallbackHandler callbackHandler) Deprecated. 12.2.1.0 |
static Subject |
login(String realmName, CallbackHandler callbackHandler, AppContext appContext) Deprecated. 12.2.1.0 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Subject login(CallbackHandler callbackHandler) throws LoginException
callbackHandler
- JAAS CallbackHandler used for loginLoginException
- when login failspublic static Subject login(CallbackHandler callbackHandler, AppContext appContext) throws LoginException
callbackHandler
- JAAS CallbackHandler used for loginappContext
- a AppContext used for loginLoginException
- when login fails
@Deprecated
public static Subject login(String realmName,
CallbackHandler callbackHandler)
throws LoginException
realmName
- Name of the security realm for logincallbackHandler
- JAAS CallbackHandler used for loginLoginException
- when login failsInvalidParameterException
- when realm does not exist
@Deprecated
public static Subject login(String realmName,
CallbackHandler callbackHandler,
AppContext appContext)
throws LoginException
realmName
- Name of the security realm for logincallbackHandler
- JAAS CallbackHandler used for loginappContext
- a AppContext used for loginLoginException
- when login failsInvalidParameterException
- when realm does not existpublic static Subject assertIdentity(String tokenType, Object token) throws LoginException
tokenType
- Name of the token typetoken
- The token passed as a Java ObjectSecurityException
- when permission is denied or service unavailableInvalidParameterException
- when realm does not existLoginException
public static Subject assertIdentity(String tokenType, Object token, AppContext appContext) throws LoginException
tokenType
- Name of the token typetoken
- The token passed as a Java ObjectappContext
- a AppContext used for loginSecurityException
- when permission is denied or service unavailableInvalidParameterException
- when realm does not existLoginException
@Deprecated
public static Subject assertIdentity(String realmName,
String tokenType,
Object token)
throws LoginException
realmName
- Name of the security realm for logintokenType
- Name of the token typetoken
- The token passed as a Java ObjectSecurityException
- when permission is denied or service unavailableInvalidParameterException
- when realm does not existLoginException
@Deprecated
public static Subject assertIdentity(String realmName,
String tokenType,
Object token,
AppContext appContext)
throws LoginException
realmName
- Name of the security realm for logintokenType
- Name of the token typetoken
- The token passed as a Java ObjectappContext
- a AppContext used for loginSecurityException
- when permission is denied or service unavailableInvalidParameterException
- when realm does not existLoginException
public Object getChallengeToken(String tokenType, AppContext appContext) throws LoginException
tokenType
- the requested identity token type nameappContext
- the contextIdentityAssertionException
- for invalid token types as well as for configuration errorsLoginException
public void continueChallengeIdentity(AppChallengeContext context, String tokenType, Object token, AppContext appContext) throws LoginException
context
- AppChallengeContext originally returned from assertChallengIdentity. The context will be updated to contain either an authenticated subject or an additional challenge.tokenType
- Name of the token typetoken
- The token passed as a Java ObjectappContext
- a appContext
object that can optionally be used by the Identity assertion provider to obtain additional information that may be used in asserting the challenge identity.LoginException
public AppChallengeContext assertChallengeIdentity(String tokenType, Object token, AppContext appContext) throws LoginException
tokenType
- Name of the token typetoken
- The token passed as a Java ObjectappContext
- a appContext
object that can optionally be used by the Identity assertion provider to obtain additional information that may be used in asserting the challenge identity.LoginException
|
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 |