Dekoh platform API

dekoh.portal.fwk.password
Class PerApplicationPasswordStore

java.lang.Object
  extended by PasswordStore
      extended by dekoh.portal.fwk.password.PerApplicationPasswordStore

public abstract class PerApplicationPasswordStore
extends PasswordStore

A PerApplicationPasswordStore store PasswordEntry with an additional property componentId added. The property is used to validate access of the caller. If the componentId of the caller and the creator do not match, then access is denied to that PasswordEntry.

Since:
Oct 26, 2007

Constructor Summary
protected PerApplicationPasswordStore(File passwordStore, String masterPassword)
           
 
Method Summary
protected abstract  PasswordEntry createPasswordEntry(String password)
           
protected abstract  void validateAccess(PasswordEntry passwordEntry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerApplicationPasswordStore

protected PerApplicationPasswordStore(File passwordStore,
                                      String masterPassword)
Parameters:
passwordStore -
masterPassword -
Method Detail

createPasswordEntry

protected abstract PasswordEntry createPasswordEntry(String password)

validateAccess

protected abstract void validateAccess(PasswordEntry passwordEntry)
                                throws PasswordStoreException
Throws:
PasswordStoreException

Dekoh platform API

© 2009 Pramati Technologies - Dekoh - Portal for Developers