|
Oracle Fusion Middleware Access SDK Java API Reference for Oracle Access Management Access Manager 11g Release 2 Patch Set 1(11.1.2.1.0) E27136-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.oblix.access.ObAuthenticationScheme
Deprecated. ObAuthenticationScheme objects represent authentication schemes defined through the Access System Configuration console and used in the authentication rules for policy domains and policies.
public class ObAuthenticationScheme
An authentication scheme specifies how a user is to be challenged for a set of credentials, name-value string pairs (for example, userid and password) that are used to authenticate a user.
An authentication scheme has:
In Oracle package, methods getName(), isBasic(), isCertificate() etc. from class AuthenticationScheme throws AccessException in case if Access Server API not initialized or if scheme id is null. And this is affecting on methods from Oblix package. So to retain backward compatibility the calling methods from this class such as getName(), isBasic(), isCertificate() etc. catches the checked exception and throws ObAccessRuntimeException.
Constructor Summary | |
---|---|
ObAuthenticationScheme(ObResourceRequest res) Deprecated. Constructs ObAuthenticationScheme object for the specified ObResourceRequest. |
Method Summary | |
---|---|
java.lang.Object |
clone() Deprecated. Used to clone ObAuthenticationScheme Objects. |
void |
finalize() Deprecated. Cleans up native ObAuthenticationScheme objects. |
java.util.Hashtable |
getAllChallengeParameters() Deprecated. Returns all the challenge parameters specified during configuration for a given authentication scheme |
java.lang.String |
getChallengeParameter(java.lang.String paramName) Deprecated. Returns a value of a given challenge parameters by name, as specified during configuration |
int |
getLevel() Deprecated. Returns the numeric authentication level as specified during authentication scheme configuration |
java.lang.String |
getName() Deprecated. Returns the display name of the authentication scheme |
int |
getNumberOfChallengeParameters() Deprecated. Returns the current number of challenge parameters in authentication scheme |
java.lang.String |
getRedirectUrl() Deprecated. Returns the URL specified during configuration, to be used for redirecting the clients for authentication |
boolean |
isBasic() Deprecated. Returns true if authentication scheme is Basic |
boolean |
isCertificate() Deprecated. Returns true if scheme requires digitial certificates,else returns false |
boolean |
isForm() Deprecated. Returns true if scheme requires FORM based authentication |
boolean |
isNone() Deprecated. Returns true if authentication is not required, else returns false |
boolean |
requiresSecureTransport() Deprecated. Returns true if scheme requires SSL client connection, else returns false |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ObAuthenticationScheme(ObResourceRequest res) throws ObAccessException
res
- Resource object for which the authentication scheme object is being constructedObAccessException
- In case of failure to create the object or if resource object is nullMethod Detail |
---|
public void finalize()
ObAuthenticationSchemeInterface
finalize
in interface ObAuthenticationSchemeInterface
finalize
in class java.lang.Object
public java.lang.String getName()
getName
in interface ObAuthenticationSchemeInterface
ObAccessRuntimeException
- In case if it fails to return the authentication scheme name or if it returns null String.public boolean requiresSecureTransport()
requiresSecureTransport
in interface ObAuthenticationSchemeInterface
ObAccessRuntimeException
- In case if it fails to return the boolean value for transport security.public boolean isBasic()
isBasic
in interface ObAuthenticationSchemeInterface
ObAccessRuntimeException
- In case if it fails to return the boolean value for authentication scheme type is Basic or not.public boolean isCertificate()
isCertificate
in interface ObAuthenticationSchemeInterface
ObAccessRuntimeException
- In case if it fails to return the boolean value for scheme requires digitial certificates or not.public boolean isForm()
isForm
in interface ObAuthenticationSchemeInterface
ObAccessRuntimeException
- In case if it fails to return the boolean value for authentication scheme type is Form or not.public boolean isNone()
isNone
in interface ObAuthenticationSchemeInterface
ObAccessRuntimeException
- In case if it fails to return the boolean value for authentication required or not.public int getLevel()
getLevel
in interface ObAuthenticationSchemeInterface
ObAccessRuntimeException
- In case if it fails to return the authentication levelpublic java.lang.String getRedirectUrl()
getRedirectUrl
in interface ObAuthenticationSchemeInterface
ObAccessRuntimeException
- In case if it fails to return the URL string for redirection or if it returns null stringpublic int getNumberOfChallengeParameters()
getNumberOfChallengeParameters
in interface ObAuthenticationSchemeInterface
ObAccessRuntimeException
- In case if it fails to return the number of challenge parameterspublic java.lang.String getChallengeParameter(java.lang.String paramName)
getChallengeParameter
in interface ObAuthenticationSchemeInterface
paramName
- name of the challenge parameterObAccessRuntimeException
- In case if it fails to return the challenge parameter value for the given parameterNamepublic java.util.Hashtable getAllChallengeParameters()
getAllChallengeParameters
in interface ObAuthenticationSchemeInterface
ObAccessRuntimeException
- In case if it fails to return all the challenge parameterspublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
|
Oracle Fusion Middleware Access SDK Java API Reference for Oracle Access Management Access Manager 11g Release 2 Patch Set 1(11.1.2.1.0) E27136-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |