com.sun.enterprise.config.serverbeans
Interface AuthRealm

All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable, org.jvnet.hk2.config.types.PropertyBag

@FileRealmPropertyCheck
@LDAPRealmPropertyCheck
@JDBCRealmPropertyCheck
@SolarisRealmPropertyCheck
public interface AuthRealm
extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable, org.jvnet.hk2.config.types.PropertyBag


Nested Class Summary
static class AuthRealm.Duck
           
 
Method Summary
 java.lang.String getClassname()
          Gets the value of the classname property.
 java.lang.String getGroupMapping()
           
 java.lang.String getName()
          Gets the value of the name property.
 java.util.List<org.jvnet.hk2.config.types.Property> getProperty()
          Properties.
 void setClassname(java.lang.String value)
          Sets the value of the classname property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
 
Methods inherited from interface org.jvnet.hk2.component.Injectable
injectedInto
 
Methods inherited from interface org.jvnet.hk2.config.types.PropertyBag
getProperty, getPropertyValue, getPropertyValue
 

Method Detail

getName

@NotNull
@Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\./;#]*")
java.lang.String getName()
Gets the value of the name property. Defines the name of this realm

Returns:
possible object is String

setName

void setName(java.lang.String value)
             throws java.beans.PropertyVetoException
Sets the value of the name property.

Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException

getClassname

@NotNull
@JavaClassName
java.lang.String getClassname()
Gets the value of the classname property. Defines the java class which implements this realm

Returns:
possible object is String

setClassname

void setClassname(java.lang.String value)
                  throws java.beans.PropertyVetoException
Sets the value of the classname property.

Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException

getGroupMapping

@DuckTyped
java.lang.String getGroupMapping()

getProperty

@PropertiesDesc(props={@PropertyDesc(name="jaas-context",description="jaas-contextfile,jdbcSpecifies the JAAS (Java Authentication and Authorization Service) context"),@PropertyDesc(name="file",defaultValue="${com.sun.aas.instanceRoot}/config/keyfile",description="file realm. Specifies the file that stores user names, passwords, and group names."),@PropertyDesc(name="assign-groups",description="file, jdbc realms. Comma-separated list of group names."),@PropertyDesc(name="datasource-jndi",description="Specifies name of the jdbc-resource for the database"),@PropertyDesc(name="user-table",description="Specifies the name of the user table in the database"),@PropertyDesc(name="user-name-column",description="Specifies the name of the user name column in the database user table"),@PropertyDesc(name="password-column",description="Specifies the name of the password column in the database user table"),@PropertyDesc(name="group-table",description="Specifies the name of the group table in the database"),@PropertyDesc(name="group-name-column",description="Specifies the name of the group name column in the database user table"),@PropertyDesc(name="db-user",description="The database user name in the realm instead of that in the jdbc-connection-pool. Prevents other applications from looking up the database, getting a connection, and browsing the user table"),@PropertyDesc(name="db-password",description="The database password in the realm instead of that in the jdbc-connection-pool. Prevents other applications from looking up the database, getting a connection, and browsing the user table"),@PropertyDesc(name="digest-algorithm",defaultValue="MD5",values={"MD5","none","SHA"},description="Any algorithm supported in the JDK"),@PropertyDesc(name="encoding",values={"Hex","Base64"},description="Specifies the encoding. If digest-algorithm is specified, the default is Hex, otherwise no encoding is specified"),@PropertyDesc(name="charset",description="Specifies the charset for the digest algorithm")})
java.util.List<org.jvnet.hk2.config.types.Property> getProperty()
Properties.

Specified by:
getProperty in interface org.jvnet.hk2.config.types.PropertyBag


Copyright © 2012 GlassFish Community. All Rights Reserved.