Project: stp

com.ibm.rational.stp.client.samples
Class Utilities.UnPw

Object
  extended by com.ibm.rational.stp.client.samples.Utilities.UnPw
All Implemented Interfaces:
javax.wvcm.ProviderFactory.Callback.Authentication
Enclosing class:
Utilities

static class Utilities.UnPw
extends 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  String[] m_data
          The cached credentials
 
Constructor Summary
Utilities.UnPw(String[] unpw)
          Constructs an Authentication object
 
Method Summary
 String loginName()
           
 String password()
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_data

private String[] m_data
The cached credentials

Constructor Detail

Utilities.UnPw

Utilities.UnPw(String[] unpw)
Constructs an Authentication object

Parameters:
unpw - A String[] containing the username and password.
Method Detail

loginName

public String loginName()
Specified by:
loginName in interface javax.wvcm.ProviderFactory.Callback.Authentication

password

public String password()
Specified by:
password in interface javax.wvcm.ProviderFactory.Callback.Authentication

Generated Wed 28-Aug-2013 02:39 AM

Copyright © IBM 2013. All rights reserved.