|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.4) Part Number E13941-04 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
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()
|
Copyright 1996, 2010, 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. Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.4) Part Number E13941-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |