in vi, if you want to delete between two marks then use the following
If you have mark a and b. (press ma to create mark a and press mb to create mark b)
Then enter at the : prompt
'a,'bd
Tuesday, October 23, 2012
Monday, October 15, 2012
WAS Security
Some really good WAS security articles, this post will grow:
part 1 article on WebSphere Hardening v8.5
part 1 article on WebSphere Hardening v7
part 2 article on WebSphere Hardening v7
article on JSSE
article on outbound ssl configuration
article on dynamic outbound ssl configuration
Article on Advanced WebSphere Security Scenarios including, TAI, JAAS and the WAS authentication process?
article
part 1 article on WebSphere Hardening v8.5
part 1 article on WebSphere Hardening v7
part 2 article on WebSphere Hardening v7
article on JSSE
article on outbound ssl configuration
article on dynamic outbound ssl configuration
Article on Advanced WebSphere Security Scenarios including, TAI, JAAS and the WAS authentication process?
article
Wednesday, October 10, 2012
Tuesday, October 9, 2012
WebSphere and Security Annotations
If your JEE Classes have a security annotation defined; for example on a rest application:
package com.ibm.saml.test;
import javax.annotation.security.RolesAllowed;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
@Path("/samlProvider")
@RolesAllowed({"ADMIN"})
public class SamlServiceProviderTest {
@GET
public String testCall(){
System.out.println("Test");
return "called testCall()";
}
}
However, in the WebSphere console you will not be able to map users to this role. WebSphere cannot see it. You must create the role in the deployment descriptor web.xml:
In WebSphere Console you can now map users to roles.
package com.ibm.saml.test;
import javax.annotation.security.RolesAllowed;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
@Path("/samlProvider")
@RolesAllowed({"ADMIN"})
public class SamlServiceProviderTest {
@GET
public String testCall(){
System.out.println("Test");
return "called testCall()";
}
}
However, in the WebSphere console you will not be able to map users to this role. WebSphere cannot see it. You must create the role in the deployment descriptor web.xml:
SAMLWar JAX-RS Tools Generated - Do not modify
JAX-RS Servlet
com.ibm.websphere.jaxrs.server.IBMRestServlet
javax.ws.rs.Application
com.ibm.saml.test.SamlServiceProviderTestApplication
1
true
false
JAX-RS Servlet
/jaxrs/*
ADMIN
In WebSphere Console you can now map users to roles.
Thursday, October 4, 2012
Subscribe to:
Posts (Atom)