|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.6) Part Number E13941-07 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweblogic.security.services.Authentication
public final class Authentication
Server side Authentication service.
Constructor Summary | |
---|---|
Authentication()
|
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)
Use the supplied client token to establish client identity |
static Subject |
assertIdentity(String realmName,
String tokenType,
Object token,
AppContext appContext)
Use the supplied client token to establish client identity |
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)
Authenticate the user and return credentials for a specific realm. |
static Subject |
login(String realmName,
CallbackHandler callbackHandler,
AppContext appContext)
Authenticate the user and return credentials for a specific realm. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Authentication()
Method Detail |
---|
public static Subject login(CallbackHandler callbackHandler) throws LoginException
callbackHandler
- JAAS CallbackHandler used for login
LoginException
- when login failspublic static Subject login(CallbackHandler callbackHandler, AppContext appContext) throws LoginException
callbackHandler
- JAAS CallbackHandler used for loginappContext
- a AppContext used for login
LoginException
- when login failspublic static Subject login(String realmName, CallbackHandler callbackHandler) throws LoginException
realmName
- Name of the security realm for logincallbackHandler
- JAAS CallbackHandler used for login
LoginException
- when login fails
InvalidParameterException
- when realm does not existpublic 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 login
LoginException
- when login fails
InvalidParameterException
- 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 Object
SecurityException
- when permission is denied or service unavailable
InvalidParameterException
- when realm does not exist
LoginException
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 login
SecurityException
- when permission is denied or service unavailable
InvalidParameterException
- when realm does not exist
LoginException
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 Object
SecurityException
- when permission is denied or service unavailable
InvalidParameterException
- when realm does not exist
LoginException
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 login
SecurityException
- when permission is denied or service unavailable
InvalidParameterException
- when realm does not exist
LoginException
public Object getChallengeToken(String tokenType, AppContext appContext) throws LoginException
tokenType
- the requested identity token type nameappContext
- the context
IdentityAssertionException
- for invalid token types as well as for configuration errors
LoginException
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 Oracle WebLogic Server API Reference 11g Release 1 (10.3.6) Part Number E13941-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |