org.openejb.corba.services.security
Class SecurityService

java.lang.Object
  |
  +--org.openejb.corba.services.security.SecurityService

public class SecurityService
extends java.lang.Object

This class provides a connectivity to the OpenORB Security System. The security system is an unified API that could be used to manage the OpenORB Object Security Service or the OpenORB SSL extension.

Author:
Jerome Daniel ( jdaniel@intalio.com )

Constructor Summary
SecurityService()
           
 
Method Summary
 void init(java.util.Properties props)
          Initialization
 boolean isCallerAuthorized(java.security.Principal principal, java.lang.String action)
           
 boolean isCallerAuthorized(java.security.Principal principal, java.lang.String[] roleNames)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityService

public SecurityService()
Method Detail

init

public void init(java.util.Properties props)
Initialization

isCallerAuthorized

public boolean isCallerAuthorized(java.security.Principal principal,
                                  java.lang.String action)

isCallerAuthorized

public boolean isCallerAuthorized(java.security.Principal principal,
                                  java.lang.String[] roleNames)


Copyright © 2002 OpenEJB Group. All Rights Reserved. http://openejb.sourceforge.net