Project: com.ibm.rational.teamapi.scout

com.ibm.rational.teamapi.scout
Class ProxyElement.UnPw

java.lang.Object
  extended by com.ibm.rational.teamapi.scout.ProxyElement.UnPw
All Implemented Interfaces:
javax.wvcm.ProviderFactory.Callback.Authentication
Enclosing class:
ProxyElement

static class ProxyElement.UnPw
extends java.lang.Object
implements javax.wvcm.ProviderFactory.Callback.Authentication

A simple Authentication object in which the username and password obtained from the user is cached for use by the CM API.


Field Summary
private  java.lang.String[] m_data
          The user-name and password array
 
Constructor Summary
ProxyElement.UnPw(java.lang.String[] unpw)
          Creates a new UnPw object.
 
Method Summary
 java.lang.String loginName()
          loginName
 java.lang.String password()
          password
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_data

private java.lang.String[] m_data
The user-name and password array

Constructor Detail

ProxyElement.UnPw

ProxyElement.UnPw(java.lang.String[] unpw)
Creates a new UnPw object.

Parameters:
unpw - The user name and password stored in a 1 or 2 element array
Method Detail

loginName

public java.lang.String loginName()
loginName

Specified by:
loginName in interface javax.wvcm.ProviderFactory.Callback.Authentication
Returns:
the login name for this user

password

public java.lang.String password()
password

Specified by:
password in interface javax.wvcm.ProviderFactory.Callback.Authentication
Returns:
The password for this user

Generated Thu 30-Oct-2008 05:19 PM

Copyright © IBM 2008. All rights reserved.