Hello,
can we add managedResource attribute to Realm Mbean descriptors? With this feature we can used
the Realm authorisation API at the complete MBeanServer.
Add this to all Realm MBean declarations:
<attribute name="managedResource"
description="The managed resource this MBean is associated with"
type="java.lang.Object"
writeable="false"/>
Other options was add following operations:
<operation name="authenticate" description="authenticate" impact="ACTION" returnType="java.security.Principal" >
<parameter name="username" type="java.lang.String"/>
<parameter name="credentials" type="java.lang.String"/>
</operations>
<operation name="hasRole" description="Check Role exists for a given principal" impact="ACTION" returnType="boolean" >
<parameter name="principal" type="java.security.Principal"/>
<parameter name="role" type="java.lang.String"/>
</operations>
My idea is to wrote a better HTTP MX4J Adaptor with SSL and Realm based authorisation support.
Regards Peter
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]