|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object toolbox.uddi.SecurityProxyOSRImpl
public class SecurityProxyOSRImpl
SecurityProxy implementation to interact with Oracle Service Registry.
Constructor Summary | |
---|---|
SecurityProxyOSRImpl()
Default constructor. |
Method Summary | |
---|---|
void |
destroy()
Destroy this proxy instance. |
void |
destroyAuthenticationToken(java.lang.String token)
Destroy the given authentication token. |
java.lang.String |
getAuthenticationToken()
Return an authentication token using the default user and password from the proxy configuration. |
java.lang.String |
getAuthenticationToken(java.lang.String user,
java.lang.String passwd)
Return an authentiction token using the given user and password. |
void |
init(UDDIManager manager,
java.util.Map props)
Initialise this proxy with the given manager and configuration properties. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SecurityProxyOSRImpl()
Method Detail |
---|
public void init(UDDIManager manager, java.util.Map props) throws UDDIException
The propertiees map must contain the following keys:
init
in interface SecurityProxy
manager
- UDDIManager that created this proxy.props
- Map containing configuration properties.
UDDIException
- if the manager cannot be initialised.public java.lang.String getAuthenticationToken() throws UDDIException
getAuthenticationToken
in interface SecurityProxy
UDDIException
- when authentication fails.public java.lang.String getAuthenticationToken(java.lang.String user, java.lang.String passwd) throws UDDIException
getAuthenticationToken
in interface SecurityProxy
user
- String containing the user to authenticate.passwd
- String containing the password to authenticate.
UDDIException
- when authentiction fails.public void destroyAuthenticationToken(java.lang.String token)
destroyAuthenticationToken
in interface SecurityProxy
token
- String containing the token to destroy.public void destroy()
destroy
in interface SecurityProxy
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |