Class LDAPAdminAccessConfigurator
java.lang.Object
org.glassfish.security.services.commands.LDAPAdminAccessConfigurator
- All Implemented Interfaces:
org.glassfish.api.admin.AdminCommand
,org.glassfish.api.admin.AdminCommandSecurity.Preauthorization
@Service(name="configure-ldap-for-admin")
@PerLookup
@ExecuteOn({DAS,INSTANCE})
@TargetType({DAS,STANDALONE_INSTANCE,CLUSTER,CONFIG})
public class LDAPAdminAccessConfigurator
extends Object
implements org.glassfish.api.admin.AdminCommand, org.glassfish.api.admin.AdminCommandSecurity.Preauthorization
A convenience command to configure LDAP for administration. There are several properties and attributes that
user needs to remember and that's rather user unfriendly. That's why this command is being developed.
- Since:
- GlassFish V3
- Author:
- केदाinvalid input: 'र' ([email protected])
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(org.glassfish.api.admin.AdminCommandContext context) boolean
preAuthorization
(org.glassfish.api.admin.AdminCommandContext context)
-
Field Details
-
basedn
-
url
-
ldapGroupName
-
LDAP_SOCKET_FACTORY
- See Also:
-
DEFAULT_SSL_LDAP_SOCKET_FACTORY
- See Also:
-
LDAPS_URL
- See Also:
-
FIXED_ADMIN_REALM_NAME
Field denoting the name of the realm used for administration. This is fixed in entire of v3. Note that the same name is used in admin GUI's web.xml and sun-web.xml. The name of the realm is the key, the underlying backend (LDAP, File, Database) can change.- See Also:
-
ORIG_ADMIN_REALM_NAME
- See Also:
-
-
Constructor Details
-
LDAPAdminAccessConfigurator
public LDAPAdminAccessConfigurator()
-
-
Method Details
-
preAuthorization
public boolean preAuthorization(org.glassfish.api.admin.AdminCommandContext context) - Specified by:
preAuthorization
in interfaceorg.glassfish.api.admin.AdminCommandSecurity.Preauthorization
-
execute
public void execute(org.glassfish.api.admin.AdminCommandContext context) - Specified by:
execute
in interfaceorg.glassfish.api.admin.AdminCommand
-