|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.security.auth.callback.WSRealmNameCallbackImpl
public class WSRealmNameCallbackImpl
The WSRealmNameCallbackImpl
allows realm name to be gathered by
CallbackHandler
and pass it to the LoginModule
. This
is used by WSClientLoginModuleImpl
and WSLoginModuleImpl
.
CallbackHandler
,
WSCallbackHandlerImpl
,
com.ibm.websphere.security.auth.module.WSClientLoginModuleImpl
,
com.ibm.websphere.security.auth.module.WSLoginModuleImpl
Constructor Summary | |
---|---|
WSRealmNameCallbackImpl(java.lang.String prompt)
Construct a WSRealmNameCallbackImpl object with a prompt hint. |
|
WSRealmNameCallbackImpl(java.lang.String prompt,
java.lang.String defaultRealmName)
Construct a WSRealmNameCallbackImpl object with a prompt hint and
a default realm name. |
Method Summary | |
---|---|
java.lang.String |
getDefaultRealmName()
Return the default realm name. |
java.lang.String |
getPrompt()
Return the prompt. |
java.lang.String |
getRealmName()
Return the realm name. |
void |
setRealmName(java.lang.String realmName)
Set the realm name. |
java.lang.String |
toString()
Returns the name of the Callback. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WSRealmNameCallbackImpl(java.lang.String prompt)
Construct a WSRealmNameCallbackImpl
object with a prompt hint.
prompt
- The prompt hint.public WSRealmNameCallbackImpl(java.lang.String prompt, java.lang.String defaultRealmName)
Construct a WSRealmNameCallbackImpl
object with a prompt hint and
a default realm name.
prompt
- The prompt hint.defaultRealmName
- The default realm name.Method Detail |
---|
public void setRealmName(java.lang.String realmName)
Set the realm name.
realmName
- The realm name.public java.lang.String getRealmName()
Return the realm name. If the realm name set in WSRealmNameCallbackImpl.setRealmName()
is null
, then null
is returned.
null
.public java.lang.String getDefaultRealmName()
Return the default realm name. If the default realm name set in Constructor
is null
, then null
is returned.
null
.public java.lang.String getPrompt()
Return the prompt. If the prompt set in Constructor
is null
, then null
is returned.
null
.public java.lang.String toString()
Returns the name of the Callback. Typically, it is the name of the class.
toString
in class java.lang.Object
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |