Skip navigation links

Oracle Communications Service Broker Configuration and Runtime MBean Java API Referencee
6.1

E38079-01


oracle.axia.api.management.credentialstore
Interface CredentialStoreMBean

All Known Implementing Classes:
AbstractCredentialStoreMBean

public interface CredentialStoreMBean

MBean interface to the credential store. This interface allows the user to provision the credential store.

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

Method Summary
 void clear()
          Removes all entries.
 boolean containsKey(String key)
          Returns true if the key exists in the credential store.
 void deleteKey(String key)
          Deletes a key.
 void setKeystore(String key, String password, String url)
          Stores a KeyStore for the given key.
 void setPassword(String key, String password, boolean oneWay)
          Stores a password for the given key, using either a one-way or two-way encryption.
 boolean validatePassword(String key, String password)
          Validates a password against a password stored for the specified key.

 

Method Detail

setPassword

void setPassword(String key,
                 String password,
                 boolean oneWay)
                 throws MBeanException
Stores a password for the given key, using either a one-way or two-way encryption.
Parameters:
key - Key
password - pasword
oneWay - True if one way encryption should be use, false for two way encryption.
Throws:
MBeanException

validatePassword

boolean validatePassword(String key,
                         String password)
                         throws MBeanException
Validates a password against a password stored for the specified key.
Parameters:
key - Key
password - pasword
Throws:
MBeanException

setKeystore

void setKeystore(String key,
                 String password,
                 String url)
                 throws MBeanException
Stores a KeyStore for the given key.
Parameters:
key - Key
password - pasword
url - keystore url
Throws:
MBeanException

containsKey

boolean containsKey(String key)
Returns true if the key exists in the credential store.
Parameters:
key - Key

deleteKey

void deleteKey(String key)
               throws MBeanException
Deletes a key.
Parameters:
key - Key
Throws:
MBeanException

clear

void clear()
           throws MBeanException
Removes all entries.
Throws:
MBeanException

Skip navigation links

Oracle Communications Service Broker Configuration and Runtime MBean Java API Referencee
6.1

E38079-01


Copyright © 2013, Oracle and/or its affiliates. All rights reserved.