Class WSAuthMechOidCallbackImpl
- java.lang.Object
- 
- com.ibm.websphere.security.auth.callback.WSAuthMechOidCallbackImpl
 
- 
- All Implemented Interfaces:
- javax.security.auth.callback.Callback
 
 public class WSAuthMechOidCallbackImpl extends java.lang.Object implements javax.security.auth.callback.CallbackThe WSAuthMechOidCallbackImplgathers the authentication mechanism universal object identifiers (OID) from the constructor and pass it to the login module. The following list contains the OIDs for each authentication mechanism:- The Kerberos authentication mechanism OID is "1.2.840.113554.1.2.2"
- The LTPA authentication mechanism OID is "1.3.18.0.2.30.2"
- The BasicAuth(GSSUP) authentication mechanism OID is "2.23.130.1.1.1"
 - Since:
- 1.0
 
- 
- 
Constructor SummaryConstructors Constructor Description WSAuthMechOidCallbackImpl(java.lang.String prompt)Construct aWSAuthMechOidCallbackImplobject with a prompt hint.WSAuthMechOidCallbackImpl(java.lang.String prompt, java.lang.String authMechOid)Construct aWSAuthMechOidCallbackImplobject with a prompt hint and an authentication mechanism OID.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAuthMechOid()Return the authentication mechanism OID.java.lang.StringgetdefaultAuthMechOid()Return the default realm name.java.lang.StringgetPrompt()Return the prompt.voidsetAuthMechOid(java.lang.String authMechOid)Set the authentication mechanism OID.java.lang.StringtoString()Returns the name of the Callback.
 
- 
- 
- 
Constructor Detail- 
WSAuthMechOidCallbackImplpublic WSAuthMechOidCallbackImpl(java.lang.String prompt) Construct a WSAuthMechOidCallbackImplobject with a prompt hint.- Parameters:
- prompt- The prompt hint.
 
 - 
WSAuthMechOidCallbackImplpublic WSAuthMechOidCallbackImpl(java.lang.String prompt, java.lang.String authMechOid)Construct a WSAuthMechOidCallbackImplobject with a prompt hint and an authentication mechanism OID.- Parameters:
- prompt- The prompt hint.
- authMechOid- The authentication mechanism OID.
 
 
- 
 - 
Method Detail- 
setAuthMechOidpublic void setAuthMechOid(java.lang.String authMechOid) Set the authentication mechanism OID. - Parameters:
- authMechOid- The authentication mechanism OID.
 
 - 
getAuthMechOidpublic java.lang.String getAuthMechOid() Return the authentication mechanism OID. - Returns:
- The authentication mechanism OID, could be null.
 
 - 
getdefaultAuthMechOidpublic java.lang.String getdefaultAuthMechOid() Return the default realm name. - Returns:
- The default authentication mechanism OID depend on resource, could be null.
 
 - 
getPromptpublic java.lang.String getPrompt() Return the prompt. If the prompt set in Constructor is null, thennullis returned.- Returns:
- The prompt, could be null.
 
 - 
toStringpublic java.lang.String toString() Returns the name of the Callback. Typically, it is the name of the class. - Overrides:
- toStringin class- java.lang.Object
- Returns:
- The name of the Callback.
 
 
- 
 
-