public class AccessMechanismPrincipal extends Object implements Principal, Serializable
Constructor and Description |
---|
AccessMechanismPrincipal(AccessMechanism accessMechanism) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other)
Determine whether this instance is equal to another.
|
AccessMechanism |
getAccessMechanism()
Get the IP address of this principal.
|
String |
getName()
Get the name of this principal; it will be the string representation of the access mechanism
|
int |
hashCode()
Get the hash code for this instance.
|
String |
toString()
Get a human-readable representation of this principal.
|
public AccessMechanismPrincipal(AccessMechanism accessMechanism)
public String getName()
public AccessMechanism getAccessMechanism()
public boolean equals(Object other)
public int hashCode()
InetAddress
object herein.Copyright © 2013 JBoss by Red Hat. All rights reserved.