public class SecurityImpl
extends java.lang.Object
implements org.jboss.jca.common.api.metadata.common.Security
Constructor and Description |
---|
SecurityImpl(java.lang.String securityDomainManaged,
java.lang.String securityDomainAndApplicationManaged,
boolean applicationManaged)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getSecurityDomain()
get the security domain for pure security-domain security management
|
java.lang.String |
getSecurityDomainAndApplication()
get the security domain for security-domain/application hybrid security management
|
int |
hashCode() |
boolean |
isApplication()
Indicates that app supplied parameters (such as from getConnection(user, pw))
are used to distinguish connections in the pool.
|
java.lang.String |
resolveSecurityDomain()
Get the security domain for security-domain security management
|
java.lang.String |
toString() |
void |
validate()
Validate this metadata according validation required by specification
|
public SecurityImpl(java.lang.String securityDomainManaged, java.lang.String securityDomainAndApplicationManaged, boolean applicationManaged) throws org.jboss.jca.common.api.validator.ValidateException
securityDomainManaged
- securityDomainManagedsecurityDomainAndApplicationManaged
- securityDomainAndApplicationManagedapplicationManaged
- applicationManagedSorg.jboss.jca.common.api.validator.ValidateException
- ValidateExceptionpublic java.lang.String getSecurityDomain()
getSecurityDomain
in interface org.jboss.jca.common.api.metadata.common.Security
public java.lang.String getSecurityDomainAndApplication()
getSecurityDomainAndApplication
in interface org.jboss.jca.common.api.metadata.common.Security
public boolean isApplication()
isApplication
in interface org.jboss.jca.common.api.metadata.common.Security
public java.lang.String resolveSecurityDomain()
resolveSecurityDomain
in interface org.jboss.jca.common.api.metadata.common.SecurityMetadata
public void validate() throws org.jboss.jca.common.api.validator.ValidateException
validate
in interface org.jboss.jca.common.api.metadata.ValidatableMetadata
org.jboss.jca.common.api.validator.ValidateException
- in case of validation failpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2014 IronJacamar (http://www.ironjacamar.org)