Project: stp

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

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

static class SimpleCreateQuery.UnPw
extends Object
implements CcProvider.CcAuthentication

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
SimpleCreateQuery.UnPw(String unpw)
          Constructs an Authentication object
 
Method Summary
 List<String> getGroupList()
           
 String getPrimaryGroupName()
           
 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

SimpleCreateQuery.UnPw

SimpleCreateQuery.UnPw(String unpw)
Constructs an Authentication object

Parameters:
unpw - A String containing username+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

getPrimaryGroupName

public String getPrimaryGroupName()
Specified by:
getPrimaryGroupName in interface CcProvider.CcAuthentication

getGroupList

public List<String> getGroupList()
Specified by:
getGroupList in interface CcProvider.CcAuthentication

Generated Tue 25-Nov-2014 09:10 PM

Copyright © IBM 2014. All rights reserved.