org.ow2.jonas.ws.jaxws.easybeans
Class EasyBeansSecurityConstraint

java.lang.Object
  extended by org.ow2.jonas.ws.jaxws.easybeans.EasyBeansSecurityConstraint
All Implemented Interfaces:
ISecurityConstraint

public class EasyBeansSecurityConstraint
extends Object
implements ISecurityConstraint

The EasyBeansSecurityConstraint is the representation of an endpoint's security contraint.

Author:
Guillaume Sauthier

Constructor Summary
EasyBeansSecurityConstraint(PortMetaData pmd, org.ow2.easybeans.api.bean.info.IBeanInfo info)
           
 
Method Summary
 String getAuthMethod()
           
 List<String> getHttpMethods()
           
 String getRealmName()
           
 List<String> getRoleNames()
           
 String getTransportGuarantee()
           
 String getUrlPattern()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EasyBeansSecurityConstraint

public EasyBeansSecurityConstraint(PortMetaData pmd,
                                   org.ow2.easybeans.api.bean.info.IBeanInfo info)
Method Detail

getUrlPattern

public String getUrlPattern()
Specified by:
getUrlPattern in interface ISecurityConstraint
Returns:
the secured Url pattern.

getHttpMethods

public List<String> getHttpMethods()
Specified by:
getHttpMethods in interface ISecurityConstraint
Returns:
the list of protected HTTP methods.

getTransportGuarantee

public String getTransportGuarantee()
Specified by:
getTransportGuarantee in interface ISecurityConstraint
Returns:
the required guarantee.

getRoleNames

public List<String> getRoleNames()
Specified by:
getRoleNames in interface ISecurityConstraint
Returns:
the list of references roles in the EJB.

getAuthMethod

public String getAuthMethod()
Specified by:
getAuthMethod in interface ISecurityConstraint
Returns:
the authentication method's name.

getRealmName

public String getRealmName()
Specified by:
getRealmName in interface ISecurityConstraint
Returns:
the name of the realm to be used for authentication.


Copyright © 2010 OW2 Consortium. All Rights Reserved.