|
Oracle | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClientEnvironment
This is an environment that can be used on a thinner client. The server implementation may do things that the client implementation cannot do. In order to keep the thin client thin, this class may not pull in any weblogic specific classes.
Method Summary | |
---|---|
Context |
getContext()
Returns a context that can be used with this environment. |
Hashtable |
getProperties()
Gets the environment hashtable associated with this environment |
AbstractSubject |
getSubject()
Gets the subject that has been associated with this thread, or null if there has not been one. |
void |
setEnableServerAffinity(boolean enableServerAffinity)
Sets the WLContext.ENABLE_SERVER_AFFINITY property |
void |
setProviderURL(String providerURL)
Sets the Context.PROVIDER_URL property |
void |
setSecurityCredentials(Object password)
Sets the Context.SECURITY_CREDENTIALS property |
void |
setSecurityPrincipal(String username)
Sets the Context.SECURITY_PRINCIPAL property |
Method Detail |
---|
void setProviderURL(String providerURL)
providerURL
- The url to use with this environmentvoid setSecurityPrincipal(String username)
username
- The username to use with this environmentvoid setSecurityCredentials(Object password)
password
- The password to use with this environmentvoid setEnableServerAffinity(boolean enableServerAffinity)
enableServerAffinity
- Context getContext() throws NamingException
NamingException
AbstractSubject getSubject()
Hashtable getProperties()
|
Documentation is available at http://download.oracle.com/docs/cd/E12839_01/web.1111 Copyright 1996,2009, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Part Number E13941-01 Oracle WebLogic Server 10.3.1 API Reference |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |