public class DefaultHandlerContext extends java.lang.Object implements HandlerContext
Constructor and Description |
---|
DefaultHandlerContext() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBindingIdentifier()
Returns the UDDI binding identifier of the service being invoked.
|
java.lang.String |
getBindingURI()
Returns the type of binding (SOAP 1.1, SOAP 1.2, HTTP, etc.) being
used (if any).
|
javax.security.auth.callback.CallbackHandler |
getCategoryCallback(java.lang.String categoryName)
Given a category URI String, returns a CallbackHandler that will
provide the required credentials through Callbacks.
|
java.lang.String |
getInterfaceName()
Returns the name of the interface being invoked.
|
java.lang.String |
getOperationName()
Returns the name of the operation being invoked.
|
java.lang.String |
getServiceName()
Returns the name of the service being invoked.
|
java.util.Set |
getSubjectCategories()
Returns the subject categories used for the invocation.
|
java.util.Map |
getSubjects()
Returns the Map of subjects to be used for the invocation.
|
void |
setBindingIdentifier(java.lang.String bindingIdentifier)
Changes the UDDI binding identifier of the service being invoked.
|
void |
setBindingURI(java.lang.String bindingURI)
Changes the type of binding (SOAP 1.1, SOAP 1.2, HTTP, etc.) being
used (if any).
|
void |
setInterfaceName(java.lang.String name)
Changes the name of the interface being invoked.
|
void |
setOperationName(java.lang.String name)
Changes the name of the operation being invoked.
|
void |
setServiceName(java.lang.String name)
Changes the name of the service being invoked.
|
void |
setSubjects(java.util.Map subjects)
Changes the Map of subjects to be used for the
invocation.
|
public java.lang.String getServiceName()
HandlerContext
getServiceName
in interface HandlerContext
public void setServiceName(java.lang.String name)
name
- String representation of the service QName.public java.lang.String getBindingIdentifier()
HandlerContext
getBindingIdentifier
in interface HandlerContext
public void setBindingIdentifier(java.lang.String bindingIdentifier)
bindingIdentifier
- String identifier of the service.public java.lang.String getInterfaceName()
HandlerContext
getInterfaceName
in interface HandlerContext
public void setInterfaceName(java.lang.String name)
name
- String representation of the interface QName.public java.lang.String getOperationName()
HandlerContext
getOperationName
in interface HandlerContext
public void setOperationName(java.lang.String name)
name
- String name of the operation.public void setSubjects(java.util.Map subjects)
subjects
- Map of Subjects keyed by String subject categories.public java.util.Map getSubjects()
public java.util.Set getSubjectCategories()
getSubjectCategories
in interface HandlerContext
public javax.security.auth.callback.CallbackHandler getCategoryCallback(java.lang.String categoryName)
HandlerContext
getCategoryCallback
in interface HandlerContext
categoryName
- String URI of the credential category.public void setBindingURI(java.lang.String bindingURI)
bindingURI
- String URI of the type of binding, null if not specified.public java.lang.String getBindingURI()
HandlerContext
getBindingURI
in interface HandlerContext
?? 2022 Perforce Software, All rights reserved
This software is the confidential and proprietary information of Perforce, Inc. and is subject to copyright protection under laws of the United States of America and other countries. The use of this software should be in accordance with the license agreement terms you entered into with Perforce, Inc.