@MessageBundle(projectCode="JBAS")
public interface SecurityMessages
Modifier and Type | Field and Description |
---|---|
static SecurityMessages |
MESSAGES
The messages
|
Modifier and Type | Method and Description |
---|---|
IllegalArgumentException |
addressDidNotContainSecurityDomain()
Create a
IllegalArgumentException when the path address does not contain a security domain name |
ClassNotFoundException |
cnfe(String name)
Create a
ClassNotFoundException to indicate that a class could not be found |
ClassNotFoundException |
cnfeThrow(String name,
Throwable t)
Create a
ClassNotFoundException to indicate that a class could not be found |
LoginException |
failureCallingSecurityRealm(String cause)
Create a
LoginException to indicate a failure calling the security realm. |
IllegalArgumentException |
illegalArgument(String str)
Create a
IllegalArgumentException to indicate an argument to a method was illegal |
OperationFailedException |
interruptedWaitingForSecurityDomain(String securityDomainName) |
SecurityException |
invalidUserException()
Create a
SecurityException to indicate that the vault is not initialized |
IllegalArgumentException |
loginModuleStackIllegalArgument(String str)
Create a
IllegalArgumentException to indicate that the auth-module references a login module stack that does not exist |
IllegalArgumentException |
missingModuleName(String name)
Creates an exception indicating that the module name was missing
|
org.jboss.modules.ModuleLoadException |
moduleLoadException(Throwable e)
Creates a
ModuleLoadException |
OperationFailedException |
noAuthenticationCacheAvailable(String securityDomain)
Create an OperationFailedException to indicate a failure to find an authentication cache
|
SecurityException |
noPasswordValidationAvailable(String realmName)
Create a
SecurityException to indicate that no password validation mechanism has been identified. |
IllegalStateException |
noUserPrincipalFound()
Create an IllegalStateFoundException to indicate no UserPrincipal was found on the underlying connection.
|
IllegalArgumentException |
nullArgument(String arg)
Create a
IllegalArgumentException when a null argument is passed |
InvalidNameException |
nullName()
Creates an exception indicating that the name passed to jndi is null or empty
|
OperationNotSupportedException |
operationNotSupported(Method method)
Creates an exception indicating that the operation is not supported
|
SecurityException |
realmNotFound(String name)
Create a
SecurityException to indicate that the specified realm has not been found. |
LoginException |
remotingConnectionWithNoUserPrincipal()
Create a
LoginException to indicate that there was no User Principal even though
a remoting connection existed |
OperationFailedException |
requiredJSSEConfigurationAttribute() |
OperationFailedException |
requiredSecurityDomainServiceNotAvailable(String securityDomainName) |
RuntimeException |
runtimeException(Throwable e)
Creates a
RuntimeException |
SecurityException |
securityException(String msg)
Create a
SecurityException |
SecurityException |
securityException(Throwable t)
Create a
SecurityException |
SecurityException |
securityManagementNotInjected()
Create a
SecurityException to indicate that the security management has not been injected |
IllegalStateException |
unableToGetModuleClassLoader(Throwable e)
Creates an exception indicating the inability to get the
ModuleClassLoader |
org.jboss.msc.service.StartException |
unableToStartException(String service,
Throwable t)
Create a
StartException to indicate that a service could not be started |
UnsupportedOperationException |
unsupportedOperation()
Create a
UnsupportedOperationException to indicate that the intended operation is not supported |
UnsupportedOperationException |
unsupportedOperationExceptionUseResourceDesc()
Exception indicates that the method being used indicates a misuse of this class
|
SecurityException |
vaultNotInitializedException()
Create a
SecurityException to indicate that the vault is not initialized |
VaultReaderException |
vaultReaderException(Throwable t)
Create a
VaultReaderException to indicate there was an exception while reading from the vault |
XMLStreamException |
xmlStreamException(String msg,
Location loc)
Create a
XMLStreamException indicating a failure during the stax parsing |
XMLStreamException |
xmlStreamExceptionAuth(Location loc)
Create a
XMLStreamException to indicate that the security domain configuration cannot have both JAAS and JASPI config |
XMLStreamException |
xmlStreamExceptionMissingAttribute(String a,
String b,
Location loc)
Creates a
XMLStreamException to indicate a missing required attribute |
static final SecurityMessages MESSAGES
@Message(id=13300, value="Unable to get the Module Class Loader") IllegalStateException unableToGetModuleClassLoader(@Cause Throwable e)
ModuleClassLoader
IllegalStateException
for the error.@Message(id=13301, value="Operation not supported : %s") OperationNotSupportedException operationNotSupported(Method method)
OperationNotSupportedException
for the error.@Message(id=13302, value="Missing module name for the %s") IllegalArgumentException missingModuleName(String name)
name
- the missing module nameIllegalArgumentException
@Message(id=13303, value="Runtime Exception:") RuntimeException runtimeException(@Cause Throwable e)
RuntimeException
e
- the underlying exception@Message(id=13304, value="Module Load Exception:") org.jboss.modules.ModuleLoadException moduleLoadException(@Cause Throwable e)
ModuleLoadException
e
- the underlying exception@Message(id=13305, value="Name cannot be null or empty") InvalidNameException nullName()
InvalidNameException
@Message(id=13306, value="Remoting connection found but no UserPrincipal.") LoginException remotingConnectionWithNoUserPrincipal()
LoginException
to indicate that there was no User Principal even though
a remoting connection existedLoginException
@Message(id=13307, value="Argument %s is null") IllegalArgumentException nullArgument(String arg)
IllegalArgumentException
when a null argument is passedarg
- an argument that is nullIllegalArgumentException
@Message(id=13308, value="Unable to start the %s service") org.jboss.msc.service.StartException unableToStartException(String service, @Cause Throwable t)
StartException
to indicate that a service could not be startedservice
- the name of the servicet
- underlying exceptionStartException
@Message(id=13309, value="Class not found : %s") ClassNotFoundException cnfe(String name)
ClassNotFoundException
to indicate that a class could not be foundname
- name of the classClassNotFoundException
@Message(id=13310, value="Class not found : %s") ClassNotFoundException cnfeThrow(String name, @Cause Throwable t)
ClassNotFoundException
to indicate that a class could not be foundname
- name of the classt
- underlying exceptionClassNotFoundException
@Message(id=13311, value="Security Exception") SecurityException securityException(@Cause Throwable t)
SecurityException
t
- underlying exceptionSecurityException
@Message(id=13312, value="Security Exception: %s") SecurityException securityException(String msg)
SecurityException
msg
- message that is passed in creating the exceptionSecurityException
@Message(id=13313, value="Vault Reader Exception:") VaultReaderException vaultReaderException(@Cause Throwable t)
VaultReaderException
to indicate there was an exception while reading from the vaultt
- underlying exceptionVaultReaderException
@Message(id=13314, value="Use the ResourceDescriptionResolver variant") UnsupportedOperationException unsupportedOperationExceptionUseResourceDesc()
UnsupportedOperationException
@Message(id=13315, value="Unsupported Operation") UnsupportedOperationException unsupportedOperation()
UnsupportedOperationException
to indicate that the intended operation is not supportedUnsupportedOperationException
@Message(id=13316, value="Illegal Argument:%s") IllegalArgumentException illegalArgument(String str)
IllegalArgumentException
to indicate an argument to a method was illegalstr
- string message to the exceptionIllegalArgumentException
@Message(id=13317, value="Illegal Argument:%s") XMLStreamException xmlStreamException(String msg, @Param Location loc)
XMLStreamException
indicating a failure during the stax parsingmsg
- failure descriptionloc
- current location of the stax parserXMLStreamException
@Message(id=13318, value="A security domain can have either an <authentication> or <authentication-jaspi> element, not both") XMLStreamException xmlStreamExceptionAuth(@Param Location loc)
XMLStreamException
to indicate that the security domain configuration cannot have both JAAS and JASPI configloc
- the current location of the stax parserXMLStreamException
@Message(id=13319, value="Missing required attribute: either %s or %s must be present") XMLStreamException xmlStreamExceptionMissingAttribute(String a, String b, @Param Location loc)
XMLStreamException
to indicate a missing required attributea
- the first attributeb
- the second attributeloc
- the current location of the stax parserXMLStreamException
@Message(id=13320, value="auth-module references a login module stack that doesn\'t exist::%s") IllegalArgumentException loginModuleStackIllegalArgument(String str)
IllegalArgumentException
to indicate that the auth-module references a login module stack that does not existstr
- login module stack nameIllegalArgumentException
@Message(id=13321, value="Address did not contain a security domain name") IllegalArgumentException addressDidNotContainSecurityDomain()
IllegalArgumentException
when the path address does not contain a security domain nameIllegalArgumentException
@Message(id=13322, value="Vault is not initialized") SecurityException vaultNotInitializedException()
SecurityException
to indicate that the vault is not initializedSecurityException
@Message(id=13323, value="Invalid User") SecurityException invalidUserException()
SecurityException
to indicate that the vault is not initializedSecurityException
@Message(id=13324, value="Security Management not injected") SecurityException securityManagementNotInjected()
SecurityException
to indicate that the security management has not been injectedSecurityException
@Message(id=13325, value="Security realm \'%s\' not found.") SecurityException realmNotFound(String name)
SecurityException
to indicate that the specified realm has not been found.SecurityException
@Message(id=13326, value="No suitable password validation mechanism identified for realm \'%s\'") SecurityException noPasswordValidationAvailable(String realmName)
SecurityException
to indicate that no password validation mechanism has been identified.SecurityException
@Message(id=13327, value="Failure calling CallbackHandler \'%s\'") LoginException failureCallingSecurityRealm(String cause)
LoginException
to indicate a failure calling the security realm.LoginException
@Message(id=13328, value="No authentication cache for security domain \'%s\' available") OperationFailedException noAuthenticationCacheAvailable(String securityDomain)
@Message(id=13329, value="No UserPrincipalFound constructing RemotingConnectionPrincipal.") IllegalStateException noUserPrincipalFound()
@Message(id=13330, value="Interrupted waiting for security domain \'%s\'") OperationFailedException interruptedWaitingForSecurityDomain(String securityDomainName)
@Message(id=13331, value="Required security domain is not available \'%s\'") OperationFailedException requiredSecurityDomainServiceNotAvailable(String securityDomainName)
@Message(id=13332, value="At least one attribute is to be defined") OperationFailedException requiredJSSEConfigurationAttribute()
Copyright © 2014 JBoss by Red Hat. All rights reserved.