|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PolicyMapping
The Outbound Connection configuration setting of a PolicyMapping.
PolicyMapping items hold connection information that is relevant if the outbound connection is established thru
the AJAX Proxy.
When an OutboundConnectionProfile object is created, a default PolicyMapping instance is automatically created.
If it is intended to establish outbound HTTP connections thru the ajax proxy, a PolicyMapping item should be created that
contains settings which refer the AJAX Proxy settings, such as the context path, which identifies the mapping by the context path
of the Ajax Proxy being used. For example, the administrator can specify a PolicyMapping for the context path "/myproxy".
policy rules that are owned by this mapping are accessible from the ajax proxy, if the remote connection is established
by the ajax proxy context path "/myproxy". That is, access to outbound conections using the "/myproxy" servlet path is
secured by the security settings.
Access example:
OutboundConnectionModel model;
OutboundConnectionProfile profile;
˙˙˙
PolicyMappping theDefaultMapping = model.getPolicyMappingLocator(profile).getDefaultMapping();
System.out.println ("This should also return true: "+theDefaultMapping.isDefault());
OutboundConnectionModel
,
OutboundConnectionProfile
,
PolicyMappingLocator
Method Summary | |
---|---|
java.lang.String |
getContextPath()
Return the context path |
IterableListModel<IPFilterSetting> |
getIPFilterSettings()
get a list of IP filters |
java.util.Map<java.lang.String,java.lang.String> |
getMetaData()
Return the object meta data |
java.lang.String |
getUrl()
Return the URL pattern. |
boolean |
isDefault()
return if the returned mapping is the default mapping. |
Methods inherited from interface com.ibm.portal.outbound.config.Administrable |
---|
getName, isReadOnly |
Method Detail |
---|
boolean isDefault()
java.lang.String getContextPath()
java.lang.String getUrl()
IterableListModel<IPFilterSetting> getIPFilterSettings()
java.util.Map<java.lang.String,java.lang.String> getMetaData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |