Apache Karaf Decanter 2.x - DocumentationEventAdmin topics you want to listen: event.topics=my/* By default, the events contain timestamp and subject. You can disable this by modifying etc/org.apache.felix.eventadmin.impl.EventAdmin configuration #username= # Optionally, password for the SMTP server #password= # e-mail velocity templates #subject.template=/path/to/subjectTemplate.vm #body.template=/path/to/bodyTemplate.vm #body.type=text/plain to connect to the SMTP server • the subject.template property allows you to provide your own Velocity (http://velocity.apache.org) template to create the subject of the message • the body.template property0 码力 | 64 页 | 812.01 KB | 1 年前3
Apache Karaf 3.0.5 Guides= new LoginContext("karaf", handler); ctx.login(); authenticated = true; subject = ctx.getSubject(); for (Principal p : subject.getPrincipals()) { if (p.getName().startsWith("ROLE_")) { roles.add((p = new LoginContext("karaf", handler); ctx.login(); authenticated = true; subject = ctx.getSubject(); for (Principal p : subject.getPrincipals()) { 186 SECURITY FRAMEWORK if ((p instanceof Group) && String rolePrincipalClass = "org.apache.karaf.jaas.modules.RolePrincipal"; for (Principal p : subject.getPrincipals()) { if (p.getClass().getName().equals(rolePrincipalClass)) { roles.add(p.getName());0 码力 | 203 页 | 534.36 KB | 1 年前3
Apache Karaf Container 4.x - Documentation= new LoginContext("karaf", handler); ctx.login(); authenticated = true; subject = ctx.getSubject(); for (Principal p : subject.getPrincipals()) { if (p.getName().startsWith("ROLE_")) { roles.add((p = new LoginContext("karaf", handler); ctx.login(); authenticated = true; subject = ctx.getSubject(); for (Principal p : subject.getPrincipals()) { if ((p instanceof Group) && ("ROLES".equalsIgnoreCase(p String rolePrincipalClass = "org.apache.karaf.jaas.modules.RolePrincipal"; for (Principal p : subject.getPrincipals()) { if (p.getClass().getName().equals(rolePrincipalClass)) { roles.add(p.getName());0 码力 | 370 页 | 1.03 MB | 1 年前3
Apache Karaf Decanter 1.x - Documentationcontaining the EventAdmin topics you want to listen: NOTE By default, the events contain timestamp and subject. You can disable this by modifying etc/org.apache.felix.eventadmin.impl.EventAdmin configuration0 码力 | 67 页 | 213.16 KB | 1 年前3
共 4 条
- 1













