org.ow2.jonas.ws.jaxws.easybeans
Class EasyBeansSecurityConstraint
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EasyBeansSecurityConstraint
public EasyBeansSecurityConstraint(PortMetaData pmd,
org.ow2.easybeans.api.bean.info.IBeanInfo info)
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.