Project

General

Profile

« Previous | Next » 

Revision 6697

act as a registered CN when calling CN methods -- create(), for example, is restricted to only be callable by a node of type CN.

View differences:

D1NodeServiceTest.java
88 88
	 * constructs a "fake" session with a test subject
89 89
	 * @return
90 90
	 */
91
	public Session getTestSession() {
91
	public Session getTestSession() throws Exception {
92 92
		Session session = new Session();
93 93
        Subject subject = new Subject();
94 94
        subject.setValue("cn=test,dc=dataone,dc=org");

Also available in: Unified diff