Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.4)

Part Number E13941-04

weblogic.security.acl
Class PermissionImpl

java.lang.Object
  extended by weblogic.security.acl.PermissionImpl
All Implemented Interfaces:
Serializable, Permission

Deprecated. Deprecated in WebLogic Server 7.0. Replaced by the rules-based Authorization Provider in the Pluggable Security Infrastructure.

public final class PermissionImpl
extends Object
implements Permission, Serializable

A straightforward implementation of the Permission interface, which represents a permission, such as that used to grant a particular type of access to a resource.

See Also:
Serialized Form

Constructor Summary
PermissionImpl(String name)
          Deprecated. Creates a permission of that name.
 
Method Summary
 boolean equals(Object other)
          Deprecated. Determines whether the object passed matches the permission represented in this interface.
 String getName()
          Deprecated. Returns the name of a Permission.
 int hashCode()
          Deprecated. Returns a hashcode for a Permission.
 String toString()
          Deprecated. Prints a string representation of this permission.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PermissionImpl

public PermissionImpl(String name)
Deprecated. 
Creates a permission of that name.

Parameters:
name - Name assigned to the permission
Method Detail

equals

public boolean equals(Object other)
Deprecated. 
Determines whether the object passed matches the permission represented in this interface.

Specified by:
equals in interface Permission
Overrides:
equals in class Object
Parameters:
other - Permission object to compare with
Returns:
true if the Permission objects are equal

hashCode

public int hashCode()
Deprecated. 
Returns a hashcode for a Permission.

Overrides:
hashCode in class Object
Returns:
Hashcode

toString

public String toString()
Deprecated. 
Prints a string representation of this permission.

Specified by:
toString in interface Permission
Overrides:
toString in class Object
Returns:
String representation

getName

public String getName()
Deprecated. 
Returns the name of a Permission.

Returns:
Name assigned to the permission

Copyright 1996, 2010, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.4)

Part Number E13941-04