|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SecurityProxy
Interface that defines a proxy for the UDDI Security API. Implementations of this interface are responsible for abstracting the UDDI security API from various UDDI implementations.
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. |
Method Detail |
---|
void init(UDDIManager manager, java.util.Map props) throws UDDIException
manager
- UDDIManager that created this proxy.props
- Map containing configuration properties.
UDDIException
- if the manager cannot be initialised.java.lang.String getAuthenticationToken() throws UDDIException
UDDIException
- when authentication fails.java.lang.String getAuthenticationToken(java.lang.String user, java.lang.String passwd) throws UDDIException
user
- String containing the user to authenticate.passwd
- String containing the password to authenticate.
UDDIException
- when authentiction fails.void destroyAuthenticationToken(java.lang.String token)
token
- String containing the token to destroy.void destroy()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |