Skip navigation links

Oracle Communications Service Broker Platform MBean Java API Reference
6.0

E26173-01


oracle.axia.config.beans.protocol.http
Class SecurityContext

java.lang.Object
  extended by oracle.axia.config.beans.protocol.http.SecurityContext

All Implemented Interfaces:
SecurityContextMBean, SecurityContextReadOnlyMBean

public class SecurityContext
extends java.lang.Object
implements SecurityContextMBean

Java class for SecurityContext complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="SecurityContext">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="contextUri" type="{http://www.w3.org/2001/XMLSchema}string" default="/" />
       <attribute name="authMethod" default="NONE">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
             <enumeration value="NONE"/>
             <enumeration value="BASIC"/>
           </restriction>
         </simpleType>
       </attribute>
       <attribute name="realm" type="{http://www.w3.org/2001/XMLSchema}string" default="My Realm" />
       <attribute name="username" type="{http://www.w3.org/2001/XMLSchema}string" default="user" />
       <attribute name="credentialKey" type="{http://www.w3.org/2001/XMLSchema}string" default="key_user" />
     </restriction>
   </complexContent>
 </complexType>
 

Field Summary
protected  java.lang.String authMethod
           
protected  java.lang.String contextUri
           
protected  java.lang.String credentialKey
           
protected  java.lang.String realm
           
protected  java.lang.String username
           

 

Constructor Summary
SecurityContext()
          Default Constructor
SecurityContext(java.lang.String contextUri, java.lang.String authMethod, java.lang.String realm, java.lang.String username, java.lang.String credentialKey)
           

 

Method Summary
 java.lang.String getAuthMethod()
          Gets the value of the authMethod property.
 java.lang.String getContextUri()
          Gets the value of the contextUri property.
 java.lang.String getCredentialKey()
          Gets the value of the credentialKey property.
 java.lang.String getRealm()
          Gets the value of the realm property.
 java.lang.String getUsername()
          Gets the value of the username property.
 void setAuthMethod(java.lang.String value)
          Sets the value of the authMethod property.
 void setContextUri(java.lang.String value)
          Sets the value of the contextUri property.
 void setCredentialKey(java.lang.String value)
          Sets the value of the credentialKey property.
 void setRealm(java.lang.String value)
          Sets the value of the realm property.
 void setUsername(java.lang.String value)
          Sets the value of the username property.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

contextUri

protected java.lang.String contextUri

authMethod

protected java.lang.String authMethod

realm

protected java.lang.String realm

username

protected java.lang.String username

credentialKey

protected java.lang.String credentialKey

Constructor Detail

SecurityContext

public SecurityContext()
Default Constructor

SecurityContext

public SecurityContext(java.lang.String contextUri,
                       java.lang.String authMethod,
                       java.lang.String realm,
                       java.lang.String username,
                       java.lang.String credentialKey)

Method Detail

getContextUri

public java.lang.String getContextUri()
Gets the value of the contextUri property.
Specified by:
getContextUri in interface SecurityContextReadOnlyMBean
Returns:
possible object is String

setContextUri

public void setContextUri(java.lang.String value)
Sets the value of the contextUri property.
Specified by:
setContextUri in interface SecurityContextMBean
Parameters:
value - allowed object is String

getAuthMethod

public java.lang.String getAuthMethod()
Gets the value of the authMethod property.
Specified by:
getAuthMethod in interface SecurityContextReadOnlyMBean
Returns:
possible object is String

setAuthMethod

public void setAuthMethod(java.lang.String value)
Sets the value of the authMethod property.
Specified by:
setAuthMethod in interface SecurityContextMBean
Parameters:
value - allowed object is String

getRealm

public java.lang.String getRealm()
Gets the value of the realm property.
Specified by:
getRealm in interface SecurityContextReadOnlyMBean
Returns:
possible object is String

setRealm

public void setRealm(java.lang.String value)
Sets the value of the realm property.
Specified by:
setRealm in interface SecurityContextMBean
Parameters:
value - allowed object is String

getUsername

public java.lang.String getUsername()
Gets the value of the username property.
Specified by:
getUsername in interface SecurityContextReadOnlyMBean
Returns:
possible object is String

setUsername

public void setUsername(java.lang.String value)
Sets the value of the username property.
Specified by:
setUsername in interface SecurityContextMBean
Parameters:
value - allowed object is String

getCredentialKey

public java.lang.String getCredentialKey()
Gets the value of the credentialKey property.
Specified by:
getCredentialKey in interface SecurityContextReadOnlyMBean
Returns:
possible object is String

setCredentialKey

public void setCredentialKey(java.lang.String value)
Sets the value of the credentialKey property.
Specified by:
setCredentialKey in interface SecurityContextMBean
Parameters:
value - allowed object is String

Skip navigation links

Oracle Communications Service Broker Platform MBean Java API Reference
6.0

E26173-01


Copyright © 2011, Oracle. All rights reserved.