Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
package com.devonfw.sample.archunit.task.logic;

import javax.annotation.security.PermitAll;

public class UcY1ViolationImproperSecurityAnnotations {

// Violation: Public method without proper annotations
public void someMethodWithViolation() {
// empty
}

/**
* Public method with proper annotations
*/
@PermitAll
public void someMethodWithoutViolation() {
// empty
}

/**
* Private method without annotations
*/
private void someOtherMethodWithoutViolation() {
// empty
}
}