org.apache.servicemix.jbi.security.acl.impl
Class AuthorizationEntry

java.lang.Object
  extended by org.apache.servicemix.jbi.security.acl.impl.AuthorizationEntry

public class AuthorizationEntry
extends Object

Author:
gnodet

Field Summary
static String TYPE_ADD
          Add the roles to the ACLs list
static String TYPE_REM
          Remove the given roles from the ACLs list
static String TYPE_SET
          Set the ACLs to the given roles
 
Constructor Summary
AuthorizationEntry()
           
AuthorizationEntry(QName service, String endpoint, QName operation, String roles)
           
AuthorizationEntry(QName service, String endpoint, QName operation, String roles, String type)
           
 
Method Summary
 Set<GroupPrincipal> getAcls()
           
 String getEndpoint()
           
 QName getOperation()
           
 String getRoles()
           
 QName getService()
           
 String getType()
           
 void setAcls(Set<GroupPrincipal> acls)
           
 void setEndpoint(String endpoint)
           
 void setOperation(QName operation)
           
 void setRoles(String roles)
           
 void setService(QName service)
           
 void setType(String type)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE_ADD

public static final String TYPE_ADD
Add the roles to the ACLs list

See Also:
Constant Field Values

TYPE_SET

public static final String TYPE_SET
Set the ACLs to the given roles

See Also:
Constant Field Values

TYPE_REM

public static final String TYPE_REM
Remove the given roles from the ACLs list

See Also:
Constant Field Values
Constructor Detail

AuthorizationEntry

public AuthorizationEntry()

AuthorizationEntry

public AuthorizationEntry(QName service,
                          String endpoint,
                          QName operation,
                          String roles)

AuthorizationEntry

public AuthorizationEntry(QName service,
                          String endpoint,
                          QName operation,
                          String roles,
                          String type)
Method Detail

getType

public String getType()
Returns:
the type

setType

public void setType(String type)
Parameters:
type - the type to set

getEndpoint

public String getEndpoint()
Returns:
the endpoint

setEndpoint

public void setEndpoint(String endpoint)
Parameters:
endpoint - the endpoint to set

getService

public QName getService()
Returns:
the service

setService

public void setService(QName service)
Parameters:
service - the service to set

getOperation

public QName getOperation()
Returns:
the operation

setOperation

public void setOperation(QName operation)
Parameters:
operation - the operation to set

getAcls

public Set<GroupPrincipal> getAcls()
Returns:
the acls

setAcls

public void setAcls(Set<GroupPrincipal> acls)
Parameters:
acls - the acls to set

setRoles

public void setRoles(String roles)

getRoles

public String getRoles()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.