Skip navigation links

Oracle Communications Service Broker Platform MBean Java API Reference
6.0

E26173-01


oracle.axia.api.management.credentialstore
Class AbstractCredentialStoreMBean

java.lang.Object
  extended by oracle.axia.api.management.credentialstore.AbstractCredentialStoreMBean

All Implemented Interfaces:
CredentialStoreMBean

public abstract class AbstractCredentialStoreMBean
extends java.lang.Object
implements CredentialStoreMBean

Abstract implementation of the credential store mbean.

Author:
Copyright (c) 2010 by Oracle Corp. All Rights Reserved.

Constructor Summary
AbstractCredentialStoreMBean(javax.management.ObjectName objectName, oracle.axia.api.credentialstore.CredentialWriter credentialWriter, oracle.axia.api.credentialstore.CredentialStoreManager credentialStoreManager)
          Creates the instance.

 

Method Summary
 void clear()
           
 boolean containsKey(java.lang.String key)
           
 void deleteKey(java.lang.String key)
           
protected  oracle.axia.api.credentialstore.CredentialStoreManager getCredentialStoreManager()
           
 javax.management.ObjectName getObjectName()
          Returns the object name used for this mbean implementation instance.
protected  void save(java.lang.String... keys)
          Saves the content of the credential store inside the bundle.
 void setKeystore(java.lang.String key, java.lang.String password, java.lang.String urlPath)
           
 void setPassword(java.lang.String key, java.lang.String password, boolean oneWay)
           
 boolean validatePassword(java.lang.String key, java.lang.String password)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

AbstractCredentialStoreMBean

public AbstractCredentialStoreMBean(javax.management.ObjectName objectName,
                                    oracle.axia.api.credentialstore.CredentialWriter credentialWriter,
                                    oracle.axia.api.credentialstore.CredentialStoreManager credentialStoreManager)
Creates the instance.
Parameters:
objectName - The object name identifying this instance
credentialWriter - The credential writer
credentialStoreManager - The credential store manager

Method Detail

getObjectName

public javax.management.ObjectName getObjectName()
Returns the object name used for this mbean implementation instance.
Returns:
The object name

getCredentialStoreManager

protected oracle.axia.api.credentialstore.CredentialStoreManager getCredentialStoreManager()

setPassword

public void setPassword(java.lang.String key,
                        java.lang.String password,
                        boolean oneWay)
                 throws javax.management.MBeanException
Specified by:
setPassword in interface CredentialStoreMBean
Throws:
javax.management.MBeanException

validatePassword

public boolean validatePassword(java.lang.String key,
                                java.lang.String password)
                         throws javax.management.MBeanException
Specified by:
validatePassword in interface CredentialStoreMBean
Throws:
javax.management.MBeanException

setKeystore

public void setKeystore(java.lang.String key,
                        java.lang.String password,
                        java.lang.String urlPath)
                 throws javax.management.MBeanException
Specified by:
setKeystore in interface CredentialStoreMBean
Throws:
javax.management.MBeanException

containsKey

public boolean containsKey(java.lang.String key)
Specified by:
containsKey in interface CredentialStoreMBean

deleteKey

public void deleteKey(java.lang.String key)
               throws javax.management.MBeanException
Specified by:
deleteKey in interface CredentialStoreMBean
Throws:
javax.management.MBeanException

clear

public void clear()
           throws javax.management.MBeanException
Specified by:
clear in interface CredentialStoreMBean
Throws:
javax.management.MBeanException

save

protected void save(java.lang.String... keys)
             throws java.io.IOException,
                    oracle.axia.api.credentialstore.CredentialStoreException
Saves the content of the credential store inside the bundle.
Parameters:
keys - The list of keys that has changed
Throws:
java.io.IOException - Exception saving the store
oracle.axia.api.credentialstore.CredentialStoreException - Exception saving the store

Skip navigation links

Oracle Communications Service Broker Platform MBean Java API Reference
6.0

E26173-01


Copyright © 2011, Oracle. All rights reserved.