Class DefaultResourceNames
- java.lang.Object
-
- org.jboss.as.cli.impl.aesh.cmd.security.model.DefaultResourceNames
-
public class DefaultResourceNames extends Object
Class that exposes all default values.- Author:
- jdenise@redhat.com
-
-
Field Summary
Fields Modifier and Type Field Description static StringROLE_MAPPER_NAME
-
Constructor Summary
Constructors Constructor Description DefaultResourceNames()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringbuildConstantRoleMapperName(Realm realm, CommandContext ctx)static StringbuildDefaultAuthFactoryName(AuthMechanism meca, AuthFactorySpec spec, CommandContext ctx)static StringbuildDefaultKeyStoreAlias(String dn, CommandContext ctx)static StringbuildDefaultKeyStoreName(File path, CommandContext ctx)static StringbuildDefaultKeyStoreName(String name, CommandContext ctx)static StringbuildDefaultKeyStorePath(File path, CommandContext ctx)static StringbuildDefaultSecurityDomainName(Realm realm, CommandContext ctx)static StringbuildUserPropertiesDefaultRealmName(CommandContext ctx, PropertiesRealmConfiguration config)static StringgetDefaultManagementInterfaceName(CommandContext ctx)static StringgetDefaultServerName(CommandContext context)
-
-
-
Field Detail
-
ROLE_MAPPER_NAME
public static final String ROLE_MAPPER_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
buildDefaultKeyStoreName
public static String buildDefaultKeyStoreName(String name, CommandContext ctx) throws OperationFormatException, IOException
- Throws:
OperationFormatExceptionIOException
-
buildDefaultKeyStoreName
public static String buildDefaultKeyStoreName(File path, CommandContext ctx) throws OperationFormatException, IOException
- Throws:
OperationFormatExceptionIOException
-
buildDefaultKeyStorePath
public static String buildDefaultKeyStorePath(File path, CommandContext ctx) throws OperationFormatException, IOException
- Throws:
OperationFormatExceptionIOException
-
buildDefaultKeyStoreAlias
public static String buildDefaultKeyStoreAlias(String dn, CommandContext ctx) throws OperationFormatException, IOException
- Throws:
OperationFormatExceptionIOException
-
getDefaultManagementInterfaceName
public static String getDefaultManagementInterfaceName(CommandContext ctx)
-
getDefaultServerName
public static String getDefaultServerName(CommandContext context)
-
buildUserPropertiesDefaultRealmName
public static String buildUserPropertiesDefaultRealmName(CommandContext ctx, PropertiesRealmConfiguration config) throws OperationFormatException, IOException
- Throws:
OperationFormatExceptionIOException
-
buildDefaultSecurityDomainName
public static String buildDefaultSecurityDomainName(Realm realm, CommandContext ctx) throws OperationFormatException, IOException
- Throws:
OperationFormatExceptionIOException
-
buildConstantRoleMapperName
public static String buildConstantRoleMapperName(Realm realm, CommandContext ctx) throws OperationFormatException, IOException
- Throws:
OperationFormatExceptionIOException
-
buildDefaultAuthFactoryName
public static String buildDefaultAuthFactoryName(AuthMechanism meca, AuthFactorySpec spec, CommandContext ctx) throws OperationFormatException, IOException
- Throws:
OperationFormatExceptionIOException
-
-