Credentials exception when running Filenet-based web app on Websphere Application Server
问题 I have developed a REST service that retrieves data from the content engine storage. For simplicity I've created user account with read-only privileges and used it for CE authorization, using the following code: UserContext context = UserContext.get(); Connection connection = Factory.Connection.getConnection("connection.url"); Subject subject = UserContext.createSubject(connection, "connection.username", "connection.password", "connection.stanza"); context.pushSubject(subject); During